dev.droplinked.com) and live (droplinked.com) always run the same code from
the same branch — what diverges is when each environment redeploys.
At a glance
Why this flow exists
Thedroplinked-backend repo drives two ECS services:
- A dev service backing
dev.droplinked.com - A live service backing
droplinked.com
main) so dev can actually validate live behavior.
The dev workflow runs on every merge; the live workflow is workflow_dispatch-only — an
operator manually triggers it after the dev smoke is green.
GitHub Environment protection rules with required reviewers would be the prettier solution
but require a paid GitHub plan tier. The
workflow_dispatch-only pattern is the no-cost
equivalent.How to deploy a change
Smoke dev
Hit
dev.droplinked.com — log in, exercise the affected endpoint, anything the diff
touches. Use a dev-only smoke merchant; never client accounts.Promote to live
Go to Actions → Deploy ECS - main → Run workflow in the GitHub UI. Select branch
main, click Run workflow.Emergency overrides
Emergency live deploy (critical patch, can’t wait for the standard flow): RunDeploy ECS - main against the branch carrying the fix. Skip the dev smoke step but
document the override in the post-incident notes.
Emergency dev deploy of a non-main branch (testing an unmerged fix): Run
Deploy ECS - Dev against the branch under test.
Related
- See Environment variables for the runtime configuration surface each environment expects.
- See Order lifecycle for what an end-to-end smoke should exercise post-deploy.