Skip to content

Commit ca0d97d

Browse files
committed
update publish script
1 parent c2ff37e commit ca0d97d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/publish

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ git-switch() {
88
}
99

1010
# modified from: https://gist.github.com/SangsooNam/aa73c3e1ff88d30433e4020f1275242a
11-
git-switch gh-pages
1211
rm -rf _book
1312
gitbook install && gitbook build
14-
git pull origin gh-pages --rebase
13+
git-switch gh-pages
1514
cp -r _book/* .
1615
git add .
1716
git commit -a -m "published $(date +%Y%m%d%H%M%S)"

0 commit comments

Comments
 (0)