diff --git a/.slugignore b/.slugignore index 203db498..be7815d3 100644 --- a/.slugignore +++ b/.slugignore @@ -1,3 +1,6 @@ *.sqlite3 *.md **/tests +conftest.py +pytest.ini +Dockerfile diff --git a/app.json b/app.json index d4718eec..807c2d98 100644 --- a/app.json +++ b/app.json @@ -2,8 +2,7 @@ "name": "PyRIGS", "description": "", "scripts": { - "postdeploy": "python manage.py migrate && python manage.py generateSampleData", - "heroku-cleanup": "rm -rf node_modules pipeline" + "postdeploy": "python manage.py migrate && python manage.py generateSampleData" }, "stack": "heroku-20", "env": { diff --git a/package.json b/package.json index 9c2d6290..1589e86d 100644 --- a/package.json +++ b/package.json @@ -35,6 +35,7 @@ }, "scripts": { "gulp": "gulp", - "build": "node node_modules/gulp/bin/gulp build" + "build": "node node_modules/gulp/bin/gulp build", + "heroku-cleanup": "rm -rf node_modules/ pipeline/ gulpfile.js" } }