Maybe this works to purge deps postbuild

This commit is contained in:
2021-01-29 14:34:38 +00:00
parent 84119f6685
commit 534e1000d4
2 changed files with 2 additions and 1 deletions

View File

@@ -1,2 +1,2 @@
release: rm -rf node_modules/ pipeline/ && python manage.py migrate
release: python manage.py migrate
web: gunicorn PyRIGS.wsgi --log-file -

View File

@@ -3,6 +3,7 @@
"description": "",
"scripts": {
"postdeploy": "python manage.py migrate && python manage.py generateSampleData",
"heroku-cleanup": "rm -rf node_modules pipeline"
},
"stack": "heroku-20",
"env": {