pull/2/head
mail@sobolevn.me 9 years ago
parent 1904ebdb86
commit 38983de6ee

@ -4,12 +4,13 @@ set -e
function update_gh_branch {
local branch_name=$(git branch | grep '*' | sed 's/* //')
git checkout gh-pages
make
git add _posts
git commit -m 'documentation update'
git checkout master
git checkout "$branch_name"
}
update_gh_branch

Loading…
Cancel
Save