Repository: bahir-website Updated Branches: refs/heads/master 989c8fb63 -> f01c095d0
[MINOR] Add pull/rebase to website publish script Project: http://git-wip-us.apache.org/repos/asf/bahir-website/repo Commit: http://git-wip-us.apache.org/repos/asf/bahir-website/commit/f01c095d Tree: http://git-wip-us.apache.org/repos/asf/bahir-website/tree/f01c095d Diff: http://git-wip-us.apache.org/repos/asf/bahir-website/diff/f01c095d Branch: refs/heads/master Commit: f01c095d0f9470a6f24b97b24e68be18104195ca Parents: 989c8fb Author: Luciano Resende <lrese...@apache.org> Authored: Fri Jun 10 21:29:08 2016 -0700 Committer: Luciano Resende <lrese...@apache.org> Committed: Fri Jun 10 21:29:08 2016 -0700 ---------------------------------------------------------------------- publish.sh | 2 ++ 1 file changed, 2 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/bahir-website/blob/f01c095d/publish.sh ---------------------------------------------------------------------- diff --git a/publish.sh b/publish.sh index 6578986..cc96be3 100755 --- a/publish.sh +++ b/publish.sh @@ -22,6 +22,8 @@ jekyll build -d _site COMMIT_HASH=`git rev-parse HEAD` cd .. git checkout asf-site +git branch --set-upstream-to=origin/asf-site asf-site +git pull --rebase rm -rf content mkdir content mv site/_site/* content