This commit is contained in:
Oliver Davies 2017-07-25 00:51:59 +01:00
parent b82f39d804
commit 145243c64a

View file

@ -24,6 +24,7 @@ touch output_${SITE_ENV}/.nojekyll
cd output_${SITE_ENV} cd output_${SITE_ENV}
mv ../.git . mv ../.git .
git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH
git pull --rebase
git add --all . git add --all .
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