diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1ca5cae2..fb66c3d5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -67,13 +67,13 @@ deploy_job: - git diff-index --quiet HEAD || git commit -m "Success pipeline" - ssh git@gitlab.com - - git push + - git push origin master # Push to mirror # Force exit code 0 - ssh -T git@github.com || echo - git remote add mirror git@github.com:curbengh/urlhaus-filter.git - - git push mirror + - git push mirror master only: # Allow CI to be triggered by schedule @@ -101,10 +101,10 @@ failed_job: - git add .gitlab/status.svg - git diff-index --quiet HEAD || git commit -m "Failed pipeline" - ssh git@gitlab.com - - git push + - git push origin master - ssh -T git@github.com || echo - git remote add mirror git@github.com:curbengh/urlhaus-filter.git - - git push mirror + - git push mirror master # Run this job only when deploy_job failed when: on_failure