Checkout the target branch
This commit is contained in:
parent
6d9e50f13e
commit
4c3f9301d3
|
@ -19,6 +19,7 @@ touch output_${SITE_ENV}/.nojekyll
|
||||||
mv output_${SITE_ENV} docs
|
mv output_${SITE_ENV} docs
|
||||||
|
|
||||||
# Add, commit and push the changes.
|
# Add, commit and push the changes.
|
||||||
|
git checkout $TARGET_BRANCH
|
||||||
git add --all docs
|
git add --all docs
|
||||||
git commit -m "Re-generate site. $SHA"
|
git commit -m "Re-generate site. $SHA"
|
||||||
git push $SSH_REPO $TARGET_BRANCH
|
git push $SSH_REPO $TARGET_BRANCH
|
||||||
|
|
Reference in a new issue