From 61b7451d1db34ac3a341212c91478f488b824af8 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Sun, 21 Aug 2016 17:14:33 +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 c9b32e4cb..bcef0c0a0 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 --ignore-unmatch './Gemfile.lock'" --prune-empty --tag-name-filter cat -- $CI_BUILD_REF_NAME + - git filter-branch --force --index-filter "git rm --cached --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