feat(infra): add Heroku deployment configuration#10
Merged
Conversation
845b7e1 to
972d6bf
Compare
972d6bf to
0df930c
Compare
till
requested changes
Apr 18, 2026
Collaborator
Author
|
Shall we do the cleanups in |
Collaborator
Author
|
Done! I've pushed follow-up commits that align this PR with the config centralization in main:
Ready for review when you are. |
Collaborator
|
@mroderick feel free to squash, github will show me what is new and auto resolve comments. I'll have a look after. |
Add infrastructure-as-code files for deploying to Heroku: - app.json: Heroku app manifest with PostgreSQL Essential-0, Basic dyno, and environment variables (CODEBAR_AUTH_URL set to auth.codebar.io) - Procfile: Web and release process definitions - scripts/heroku-release.sh: Release phase migration runner - HEROKU.md: Deployment documentation with automatic deploy setup - CLAUDE.md: Reference to HEROKU.md for deployment info - package.json: Node.js version pinning (>= 24.0.0) - .nvmrc: Updated to 24 to match engines field
14a3e65 to
ca82ecc
Compare
Address review feedback by separating concerns: - docs/heroku-setup.md: one-time Heroku setup (create app, connect repo, OAuth config, environment variables) - docs/deployment.md: ongoing deployment operations (automatic deploys, manual deploy, rollback, monitoring) - Update CLAUDE.md reference to point to both documents - Move files into docs/ folder for human readability
Collaborator
Author
|
Hey @till |
till
approved these changes
Jun 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add Heroku infrastructure-as-code configuration for deploying codebar-auth to Heroku with automatic deployments from GitHub.
Changes
CODEBAR_AUTH_URLset tohttps://auth.codebar.iowebsiteset to custom domain>= 24.0.024to match engines fieldDeployment Workflow
Standard Flow (Automatic)
mainEmergency Flow (Manual)
git push heroku main --forcefor break-the-glass situationsEnvironment Variables
DATABASE_URLGITHUB_CLIENT_IDGITHUB_CLIENT_SECRETBETTER_AUTH_SECRETCODEBAR_AUTH_URLInfrastructure
Setup Instructions
See HEROKU.md for:
app.jsonTesting