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:
curben 2019-10-03 05:52:31 +01:00
parent 41b75d21d4
commit 14e08a7d46
No known key found for this signature in database
GPG Key ID: 5D9DB57A25D34EE3
1 changed files with 2 additions and 2 deletions

View File

@ -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