Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Commit

Permalink
Clean up hooks in deploy.sh
Browse files Browse the repository at this point in the history
- don't want before.py (see deploy/README)
- run after.py directly on dyno vs. redirect
  • Loading branch information
chadwhitacre committed Sep 1, 2017
1 parent 5c5dd2e commit 7f628f9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,8 @@ git tag $version
# Deploy to Heroku, with hooks
cd deploy
[ -e before.sql ] && heroku pg:psql -a gratipay < before.sql
[ -e before.py ] && heroku run -a gratipay python < before.py
git push --force heroku master
[ -e after.py ] && heroku run -a gratipay python < after.py
[ -e after.py ] && heroku run -a gratipay python deploy/after.py
[ -e after.sql ] && heroku pg:psql -a gratipay < after.sql
cd ..

Expand Down

0 comments on commit 7f628f9

Please sign in to comment.