Checkout branch and ensure remote add returns success.
This commit is contained in:
@ -15,8 +15,9 @@ push_github:
|
|||||||
script:
|
script:
|
||||||
- git status
|
- git status
|
||||||
- git remote -v
|
- git remote -v
|
||||||
|
- git checkout master
|
||||||
# Add a new remote for github
|
# 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
|
# Push to the new remote
|
||||||
- git push github master
|
- git push github master
|
||||||
|
|||||||
Reference in New Issue
Block a user