Skip to content
Snippets Groups Projects
Commit 093f26b7 authored by Kyllian Beasse's avatar Kyllian Beasse :blush:
Browse files

Documentation bucket developpement

parent 1db7335b
Branches
Tags
No related merge requests found
image: python:3.7-alpine image: python:3.7-alpine
variables: variables:
S3_BUCKET_NAME_fr: "documentation.veremes.net/vmap/fr" S3_BUCKET_NAME_PROD: "documentation.veremes.net/vmap"
S3_BUCKET_NAME_DEV_fr: "documentation.veremes.net/vmap-dev/fr" S3_BUCKET_NAME_DEV: "documentation-dev.veremes.net/vmap"
# Deploiement documentation francaise before_script:
# deploy-gtf-fr-documentation: - 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 # stage: deploy
# script: # script:
# - pip install awscli # - sphinx-build -b html documentation/source documentation/build
# - pip install -U sphinx # - aws s3 cp documentation/build/ s3://$S3_BUCKET_NAME_PROD/ --recursive
# - pip install sphinx_rtd_theme==0.5.2
# - pip install sphinx-markdown-parser
# - pip install myst-parser
# - pip install pymdown-extensions
# - sphinx-build -b html doc/source doc/build
# - aws s3 cp doc/build/ s3://$S3_BUCKET_NAME_fr/ --recursive
# tags: # tags:
# - deployment # - deployment
# - eslint
# - test
# only: # only:
# refs: # refs:
# - master # - master
# changes: # changes:
# - doc/**/* # - documentation/source/**/*
# Deploiement documentation francaise en developpement
deploy-fr-dev:
stage: deploy
script:
- sphinx-build -b html doc/source doc/build
- aws s3 cp doc/build/ s3://$S3_BUCKET_NAME_DEV/ --recursive
tags:
- deployment
- eslint
- test
only:
refs:
- documentation
changes:
- doc/source/**/*
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment