Unverified Commit 53e9a66b authored by Denis_P's avatar Denis_P 🏑 Committed by GitHub
Browse files

CI: override before_script so it won't fail on a doc branch (#756)

parent 7cf84eaf
Pipeline #133106 passed with stages
in 44 minutes and 43 seconds
......@@ -303,9 +303,12 @@ publish-docs:
- if: $CI_PIPELINE_SOURCE == "schedule"
- if: $CI_COMMIT_REF_NAME == "master"
- if: $CI_COMMIT_REF_NAME == "tags"
# need to overwrite `before_script` from `*docker-env` here,
# this branch does not have a `./scripts/pre_cache.sh`
before_script:
- unset CARGO_TARGET_DIR
script:
- rm -rf /tmp/*
- unset CARGO_TARGET_DIR
# Set git config
- rm .git/config
- git config user.email "devops-team@parity.io"
......
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