git-secret/utils/gh-branch.sh

16 lines
188 B
Bash
Raw Normal View History

2016-02-23 21:11:37 +00:00
#!/usr/bin/env bash
2016-02-23 21:25:39 +00:00
set -e
2016-02-23 21:11:37 +00:00
function update_gh_branch {
git checkout gh-pages
make
2016-02-23 21:25:39 +00:00
2016-02-23 21:28:45 +00:00
git add _posts
2016-02-23 21:25:39 +00:00
git commit -m 'documentation update'
2016-02-23 21:28:45 +00:00
git checkout master
2016-02-23 21:11:37 +00:00
}
update_gh_branch