Skip to content

Commit

Permalink
Release tasks as sh
Browse files Browse the repository at this point in the history
  • Loading branch information
gtalarico committed Aug 10, 2018
1 parent e156556 commit d70d87a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
release: python manage.py migrate & python manage.py collectstatic --noinput
release: ./release.sh
web: gunicorn project.wsgi --log-file -
5 changes: 5 additions & 0 deletions release.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Collect Static is Done Manually
# because Heroku runs `collectstatic`` before `yarn build`
# so dist is not ready
python manage.py collectstatic --noinput
python manage.py migrate

0 comments on commit d70d87a

Please sign in to comment.