From 9cbd5de78c0ddf82935d945b28af56e61f4fc72e Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 21 Aug 2016 17:17:08 +0200 Subject: [PATCH] Improved github as mirror. --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bcef0c0a0..821c5966f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -40,7 +40,7 @@ pre:github: script: - git checkout $CI_BUILD_REF_NAME - git pull --rebase origin $CI_BUILD_REF_NAME - - git filter-branch --force --index-filter "git rm --cached --prune-empty --tag-name-filter cat -- $CI_BUILD_REF_NAME + - git filter-branch --force --index-filter --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