Use passed commit hash for update message (if any)

This commit is contained in:
Philipp Oppermann
2016-05-02 16:08:48 +02:00
parent 2dfbf77de9
commit 2d463d103a

View File

@@ -32,7 +32,8 @@ rm -r post post.html page page.html # remove per-category pages/feeds
# commit
git add --all .
git commit -qm "Update blog to $TRAVIS_COMMIT"
: ${UPDATE_COMMIT=$TRAVIS_COMMIT}
git commit -qm "Update blog to $UPDATE_COMMIT"
# push changes
git push -q origin gh-pages