From 7f628f9029ca29f0bee0635c6e8bd0a49a3857ac Mon Sep 17 00:00:00 2001 From: Chad Whitacre Date: Fri, 1 Sep 2017 11:48:07 -0400 Subject: [PATCH] Clean up hooks in deploy.sh - don't want before.py (see deploy/README) - run after.py directly on dyno vs. redirect --- deploy.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy.sh b/deploy.sh index 5a1c11fa0f..0d0f51cecf 100755 --- a/deploy.sh +++ b/deploy.sh @@ -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 ..