Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
biboumi
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
90
Issues
90
List
Boards
Labels
Service Desk
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
louiz’
biboumi
Commits
bf97478b
Commit
bf97478b
authored
Sep 19, 2018
by
louiz’
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a job to deploy and undeploy the doc for tags
fix
#3377
parent
6dbac489
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
1 deletion
+35
-1
.gitlab-ci.yml
.gitlab-ci.yml
+35
-1
No files found.
.gitlab-ci.yml
View file @
bf97478b
...
...
@@ -239,7 +239,7 @@ packaging:archlinux:
# Deploy jobs
#
doc
:
d
eploy_d
oc
:
stage
:
deploy
only
:
-
branches@louiz/biboumi
...
...
@@ -255,3 +255,37 @@ doc:
-
rm -rf /www/latest
-
mv _build/html /www/latest
dependencies
:
[]
deploy_doc_tag
:
stage
:
deploy
only
:
-
tags@louiz/biboumi
tags
:
-
www
environment
:
name
:
doc.$CI_COMMIT_TAG
url
:
https://doc.biboumi.louiz.org/$CI_COMMIT_TAG/
on_stop
:
undeploy_doc_tag
image
:
docker.louiz.org/louiz/biboumi/doc-builder
script
:
-
cd doc/
-
make html
-
mv _build/html /www/$CI_COMMIT_TAG
dependencies
:
[]
undeploy_doc_tag
:
stage
:
deploy
only
:
-
tags@testing/biboumi
tags
:
-
www
variables
:
GIT_STRATEGY
:
none
environment
:
name
:
doc.$CI_COMMIT_TAG
action
:
stop
image
:
docker.louiz.org/louiz/biboumi/doc-builder
script
:
-
rm -rf /www/$CI_COMMIT_TAG
when
:
manual
dependencies
:
[]
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment