Skip to content

Commit b183dfd

Browse files
Chi CaesarChi Caesar
Chi Caesar
authored and
Chi Caesar
committed
deploy to gh-pages
1 parent a60a4b9 commit b183dfd

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

deploy.sh

+3-8
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
#!/bin/bash
22
# set -e # stop on error
33

4-
echo switch folder to deploy
5-
cd dist
6-
echo add new gh-pages files
4+
npm run build
75
git add .
8-
echo commit changes
9-
git commit -m "deploy to gh-pages"
10-
echo push to remote gh-pages
11-
git push -f
12-
echo All done!
6+
git commit -m 'deploy to gh-pages'
7+
git subtree push --prefix dist origin gh-pages

0 commit comments

Comments
 (0)