Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
deploy.sh: just use index.html from _public to deply instead of rebui…
…ld index/404.jade
  • Loading branch information
irvin committed Oct 5, 2018
commit da65edc7bda60c803e805e28393a3483a078d21a
9 changes: 5 additions & 4 deletions deploy.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
git checkout gh-pages
git merge master
jade views/{index,404}.jade -o . -pretty
gulp build
rm index.html
rm 404.html
cp _public/*.html ./
git add .
git commit -m 'deploy'
git pull
git push
git checkout master
echo "I'll no longer pull and push for you, please push with causion on which remote you'd like to."