Use Heroku generator for DISABLE_COLLECTSTATIC

Heroku's attempts to run collectstatic automatically but Baby Buddy never
wants that. Instead of offering a user-editable environment variable this
change uses Heroku's secret generator to set the variable so the user cannot
change it during deploy.
This commit is contained in:
Christopher C. Wells 2022-02-21 06:58:43 -08:00 committed by Christopher Charbonneau Wells
parent 12ba4736e6
commit cf21441576
1 changed files with 5 additions and 9 deletions

View File

@ -12,7 +12,7 @@
"self-host"
],
"repository": "https://github.com/babybuddy/babybuddy",
"website": "http://www.baby-buddy.net",
"website": "https://docs.baby-buddy.net",
"buildpacks": [
{
"url": "heroku/python"
@ -23,17 +23,13 @@
"description": "A prebuilt configuration for Heroku.",
"value": "babybuddy.settings.heroku"
},
"DISABLE_COLLECTSTATIC": {
"description": "Prevent static asset collection.",
"generator": "secret"
},
"SECRET_KEY": {
"description": "Used for the auth system.",
"generator": "secret"
},
"DISABLE_COLLECTSTATIC": {
"description": "Prevent static asset collection.",
"value": "1"
},
"TIME_ZONE": {
"description": "Sets the instance default time zone.",
"value": "UTC"
}
},
"scripts": {