ci: force exit code 0 with semicolon
https://unix.fandom.com/wiki/Force_exit_code_0 quote is necessary to escape the semicolon in yml
This commit is contained in:
parent
41b75d21d4
commit
14e08a7d46
|
@ -42,7 +42,7 @@ deploy_job:
|
|||
|
||||
# Push to mirror
|
||||
# Force exit code 0
|
||||
- ssh -T git@github.com || echo
|
||||
- ssh -T git@github.com || ":"
|
||||
- git remote add mirror git@github.com:curbengh/urlhaus-filter.git
|
||||
- git push mirror master
|
||||
|
||||
|
@ -74,7 +74,7 @@ failed_job:
|
|||
- ssh -T git@gitlab.com
|
||||
- git remote set-url origin git@gitlab.com:curben/urlhaus-filter.git
|
||||
- git push origin master
|
||||
- ssh -T git@github.com || echo
|
||||
- ssh -T git@github.com || ":"
|
||||
- git remote add mirror git@github.com:curbengh/urlhaus-filter.git
|
||||
- git push mirror master
|
||||
|
||||
|
|
Loading…
Reference in New Issue