Skip to content
Snippets Groups Projects
Commit 121f325f authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Merge branch 'rename-gitlab-ci-var' into '2.5'

Rename CI repository variable for GitLab 9.0+

See merge request !62
parents 9b3cd4af a206523d
1 merge request!62Rename CI repository variable for GitLab 9.0+
Pipeline #8782 passed with stages
in 2 minutes and 31 seconds
......@@ -25,7 +25,7 @@ sync_mirror:
script:
- 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
......
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