git-secret/utils/gh-branch.sh
2016-02-24 00:28:45 +03:00

16 lines
188 B
Bash

#!/usr/bin/env bash
set -e
function update_gh_branch {
git checkout gh-pages
make
git add _posts
git commit -m 'documentation update'
git checkout master
}
update_gh_branch