Unverified Commit 7554b987 authored by Michael Müller's avatar Michael Müller
Browse files

Revert me: Test if `publish-docs` job works

parent 4391a18d
Pipeline #116142 failed with stages
in 2 minutes and 41 seconds
...@@ -272,11 +272,6 @@ publish-docs: ...@@ -272,11 +272,6 @@ publish-docs:
variables: variables:
GIT_DEPTH: 0 GIT_DEPTH: 0
GIT_STRATEGY: none 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: script:
- rm -rf /tmp/* - rm -rf /tmp/*
- unset CARGO_TARGET_DIR - unset CARGO_TARGET_DIR
...@@ -299,7 +294,6 @@ publish-docs: ...@@ -299,7 +294,6 @@ publish-docs:
- git add --all --force - git add --all --force
- git status - git status
- git commit -m "Updated docs for ${CI_COMMIT_REF_NAME} and pushed to gh-pages" - git commit -m "Updated docs for ${CI_COMMIT_REF_NAME} and pushed to gh-pages"
- git push origin gh-pages --force
after_script: after_script:
- rm -rf .git/ ./* - rm -rf .git/ ./*
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment