Commit a206523d authored by Daniel Gerhardt's avatar Daniel Gerhardt

Rename CI repository variable for GitLab 9.0+

parent 9b3cd4af
......@@ -25,7 +25,7 @@ sync_mirror:
- mkdir ~/.ssh && echo "$GITHUB_HOST_KEY" > ~/.ssh/known_hosts
- eval $(ssh-agent -s) && ssh-add <(echo "$GITHUB_DEPLOY_KEY")
- git clone --bare "$CI_BUILD_REPO" mirror.git
- git clone --bare "$CI_REPOSITORY_URL" mirror.git
- cd mirror.git
- git update-ref -d refs/tags/production
- git update-ref -d refs/tags/staging
Markdown is supported
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