mirror of
https://github.com/sobolevn/git-secret
synced 2024-11-18 15:26:58 +00:00
staging
This commit is contained in:
parent
1904ebdb86
commit
38983de6ee
@ -4,12 +4,13 @@ set -e
|
|||||||
|
|
||||||
|
|
||||||
function update_gh_branch {
|
function update_gh_branch {
|
||||||
|
local branch_name=$(git branch | grep '*' | sed 's/* //')
|
||||||
git checkout gh-pages
|
git checkout gh-pages
|
||||||
make
|
make
|
||||||
|
|
||||||
git add _posts
|
git add _posts
|
||||||
git commit -m 'documentation update'
|
git commit -m 'documentation update'
|
||||||
git checkout master
|
git checkout "$branch_name"
|
||||||
}
|
}
|
||||||
|
|
||||||
update_gh_branch
|
update_gh_branch
|
||||||
|
Loading…
Reference in New Issue
Block a user