Checkout branch and ensure remote add returns success.
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user