mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 14:27:49 +00:00
Use passed commit hash for update message (if any)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user