Skip to content

Commit

Permalink
Add GitHub pages push script.
Browse files Browse the repository at this point in the history
  • Loading branch information
mihaip committed Jun 30, 2018
1 parent 1298aa9 commit 93e3400
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions static_reader/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"watch": "npm run build -- -w",
"serve": "python -m SimpleHTTPServer 8000",
"generate_canned_data": "python scripts/generate_canned_data.py",
"push": "scripts/push.sh",
"precommit": "pretty-quick --staged"
},
"repository": {
Expand Down
7 changes: 7 additions & 0 deletions static_reader/scripts/push.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

cp -r reader ../../readerisdead-pages/
cd ../../readerisdead-pages
git add .
git commit . -m "Update static_reader pages"
git push origin gh-pages

0 comments on commit 93e3400

Please sign in to comment.