From ee31cf6a0d7aaa25f701173f85f21f857ff93e1a Mon Sep 17 00:00:00 2001 From: MDLeom <2809763-curben@users.noreply.gitlab.com> Date: Wed, 15 Apr 2020 04:46:48 +0100 Subject: [PATCH] fix(ci): checkout local branches --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4f22c0a..464f06a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -29,8 +29,8 @@ test: # (workaround) force exit code 0 - ssh -T git@github.com || ":" - git remote add mirror git@github.com:curbengh/blog.git - - git push mirror master - - git push mirror site + - git checkout master && git push mirror master + - git checkout site && git push mirror site rules: # Skip in renovate job