diff --git a/publish.sh b/publish.sh index 43598432..adcddae4 100755 --- a/publish.sh +++ b/publish.sh @@ -24,7 +24,7 @@ touch output_${SITE_ENV}/.nojekyll cd output_${SITE_ENV} mv ../.git . git checkout $TARGET_BRANCH || git checkout --orphan $TARGET_BRANCH -git pull --rebase +git pull --rebase $SSH_REPO $TARGET_BRANCH git add --all . git commit -m "Re-generate site. $SHA" git push $SSH_REPO $TARGET_BRANCH