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

Merge branch '2.x'

parents b3037f10 4a930bb3
No related merge requests found
...@@ -25,7 +25,7 @@ sync_mirror: ...@@ -25,7 +25,7 @@ sync_mirror:
script: script:
- mkdir ~/.ssh && echo "$GITHUB_HOST_KEY" > ~/.ssh/known_hosts - mkdir ~/.ssh && echo "$GITHUB_HOST_KEY" > ~/.ssh/known_hosts
- eval $(ssh-agent -s) && ssh-add <(echo "$GITHUB_DEPLOY_KEY") - 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 - cd mirror.git
- git update-ref -d refs/tags/production - git update-ref -d refs/tags/production
- git update-ref -d refs/tags/staging - 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