Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
vMap 2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open source
vMap 2
Commits
36cc0657
Commit
36cc0657
authored
2 years ago
by
Laurent Panabieres
Browse files
Options
Downloads
Plain Diff
Merge branch 'documentation'
parents
e3a6a04b
c00940da
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+15
-29
15 additions, 29 deletions
.gitlab-ci.yml
with
15 additions
and
29 deletions
.gitlab-ci.yml
+
15
−
29
View file @
36cc0657
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 doc
umentation
/source doc
umentation
/build
#
- aws s3 cp doc
umentation
/build/ s3://$S3_BUCKET_NAME_PROD/ --recursive
#
tags:
#
- deployment
#
- eslint
#
- test
#
only:
#
refs:
#
- master
#
changes:
#
- doc
umentation
/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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment