Added github as mirror.
This commit is contained in:
parent
774dc82bf6
commit
d4918c3b67
1 changed files with 10 additions and 0 deletions
|
@ -33,6 +33,16 @@ pre:bundle-audit:
|
||||||
- bundle-audit update
|
- bundle-audit update
|
||||||
- bundle-audit
|
- bundle-audit
|
||||||
|
|
||||||
|
pre:github:
|
||||||
|
stage: pre
|
||||||
|
script:
|
||||||
|
- git checkout $CI_BUILD_REF_NAME
|
||||||
|
- git pull --rebase origin $CI_BUILD_REF_NAME
|
||||||
|
- git filter-branch --force --index-filter "git rm --cached --ignore-unmatch './.gitlab-ci.yml'" --prune-empty --tag-name-filter cat -- $CI_BUILD_REF_NAME
|
||||||
|
- if git remote | grep github > /dev/null; then git remote rm github; fi
|
||||||
|
- git remote add github git@github.com:martini/zammad-test.git
|
||||||
|
- git push github $CI_BUILD_REF_NAME
|
||||||
|
|
||||||
test:unit:mysql:
|
test:unit:mysql:
|
||||||
stage: test
|
stage: test
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue