Skip to content
Snippets Groups Projects
Commit 36cc0657 authored by Laurent Panabieres's avatar Laurent Panabieres
Browse files

Merge branch 'documentation'

parents e3a6a04b c00940da
Branches
Tags
No related merge requests found
image: python:3.7-alpine
image: veremes/sphinx-doc:latest
variables:
S3_BUCKET_NAME_PROD: "documentation.veremes.net/vmap"
S3_BUCKET_NAME_DEV: "documentation-dev.veremes.net/vmap"
before_script:
- apk update && apk add git && apk add tzdata
- apk add build-base
- cp /usr/share/zoneinfo/Europe/Paris /etc/localtime
- echo "Europe/Paris" > /etc/timezone
- TZ=Europe/Paris
- pip install sphinx
- pip install sphinx-intl
- pip install sphinx_rtd_theme==0.5.2
- pip install sphinx-markdown-parser
- pip install myst-parser
- pip install awscli
- pip install pymdown-extensions
# Deploiement documentation francaise en production
#deploy-fr-prod:
# stage: deploy
# script:
# - sphinx-build -b html documentation/source documentation/build
# - aws s3 cp documentation/build/ s3://$S3_BUCKET_NAME_PROD/ --recursive
# tags:
# - deployment
# - eslint
# - test
# only:
# refs:
# - master
# changes:
# - documentation/source/**/*
deploy-fr-prod:
stage: deploy
script:
- sphinx-build -b html doc/source doc/build
- aws s3 cp doc/build/ s3://$S3_BUCKET_NAME_PROD/ --recursive
tags:
- deployment
- eslint
- test
only:
refs:
- master
changes:
- doc/source/**/*
# Deploiement documentation francaise en developpement
deploy-fr-dev:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment