From 739fd255f39c6cce685159eede75283b57b3890a Mon Sep 17 00:00:00 2001 From: Patrick Cherry Date: Fri, 26 Jun 2026 12:44:53 +0100 Subject: [PATCH 1/3] Test branch to see if this works --- app.json | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100644 app.json diff --git a/app.json b/app.json deleted file mode 100644 index bcd4d338b..000000000 --- a/app.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "addons": [ - { - "plan": "heroku-postgresql", - "options": { - "version": "14" - } - } - ] -} From 9dbfa21b2cfd003d207800450ee364fc98518fef Mon Sep 17 00:00:00 2001 From: Patrick Cherry Date: Fri, 26 Jun 2026 12:46:59 +0100 Subject: [PATCH 2/3] Add in basic app.json copied from clubs-api --- app.json | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 app.json diff --git a/app.json b/app.json new file mode 100644 index 000000000..24214278f --- /dev/null +++ b/app.json @@ -0,0 +1,36 @@ +{ + "name": "editor-api", + "scripts": { + "postdeploy": "bin/rails db:seed" + }, + "env": { + "BYPASS_OAUTH": { + "value": "yes" + }, + "HEROKU_APP_NAME": { + "required": true + }, + "RAILS_ENV": { + "required": true + }, + "SALESFORCE_ENABLED": { + "value": "false" + }, + "SENTRY_CURRENT_ENV": { + "value": "review" + } + }, + "formation": { + "web": { + "quantity": 1 + } + }, + "addons": [ + "heroku-postgresql:essential-0" + ], + "buildpacks": [ + { + "url": "heroku/ruby" + } + ] +} From f84b45155b0c1161f351ca91c25dda8b2baed9d9 Mon Sep 17 00:00:00 2001 From: Patrick Cherry Date: Fri, 26 Jun 2026 12:48:53 +0100 Subject: [PATCH 3/3] Use correct value for BYPASS_OAUTH --- app.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.json b/app.json index 24214278f..ca5f8debc 100644 --- a/app.json +++ b/app.json @@ -5,7 +5,7 @@ }, "env": { "BYPASS_OAUTH": { - "value": "yes" + "value": "true" }, "HEROKU_APP_NAME": { "required": true