Checkout branch and ensure remote add returns success.

This commit is contained in:
2021-06-19 22:06:19 +00:00
parent f757773b97
commit c239937874

View File

@ -15,8 +15,9 @@ push_github:
script:
- git status
- git remote -v
- git checkout master
# Add a new remote for github
- git remote add github git@github.com:jmhbnz/tooling.git
- git remote add github git@github.com:jmhbnz/tooling.git || true
# Push to the new remote
- git push github master