Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
parity
Mirrored projects
ink
Commits
4549aa84
Unverified
Commit
4549aa84
authored
Dec 04, 2020
by
Michael Müller
Browse files
Revert "Revert me: Test if `publish-docs` job works"
This reverts commit
7554b987
.
parent
eb0dce16
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
4549aa84
...
...
@@ -272,6 +272,11 @@ publish-docs:
variables
:
GIT_DEPTH
:
0
GIT_STRATEGY
:
none
rules
:
-
if
:
$CI_PIPELINE_SOURCE == "web"
-
if
:
$CI_PIPELINE_SOURCE == "schedule"
-
if
:
$CI_COMMIT_REF_NAME == "master"
-
if
:
$CI_COMMIT_REF_NAME == "tags"
script
:
-
rm -rf /tmp/*
-
unset CARGO_TARGET_DIR
...
...
@@ -294,6 +299,7 @@ publish-docs:
-
git add --all --force
-
git status
-
git commit -m "Updated docs for ${CI_COMMIT_REF_NAME} and pushed to gh-pages"
-
git push origin gh-pages --force
after_script
:
-
rm -rf .git/ ./*
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment