chore: specify branch
This commit is contained in:
parent
c2f83c6677
commit
6f2888609c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue