Skip to main content

Deployment Overview

This section is the source of truth for shipping every TrickBook application. Feature work reaches production through a reviewed promotion from staging; merging a feature branch is not itself a production deployment.

Platform map​

ApplicationProduction branchRuntime/distributionDeployment
Backend APImasterAWS EC2 + PM2Manual EC2 fast-forward today; GitHub OIDC + SSM planned
Web appmainAWS Amplify Web ComputeAutomatic after the production promotion merges
iOS appMobile release branchEAS Build, TestFlight, App Store ConnectEAS build/submit plus App Store review
Android appMobile release branchEAS Build, Google PlayEAS build/submit plus Play Console promotion
DocumentationmainGitHub PagesAutomatic GitHub Actions deployment

Choose a runbook​

Standard production release order​

When a web feature depends on an API change:

  1. Merge feature PRs into each repository's staging branch only after CI passes.
  2. Validate the paired staging revisions.
  3. Open staging → production promotion PRs (master for the API, main for the web app).
  4. Merge and deploy the backend first.
  5. Smoke-test the production API.
  6. Merge the web promotion and wait for the Amplify production job to succeed.
  7. Smoke-test the live page, its API calls, and any sitemap or metadata changes.

Mobile releases may consume the same API. Confirm backward compatibility with the current App Store and Play Store builds before deploying breaking backend changes.

Release evidence​

Record these items in the promotion PR or release notes:

  • production commit SHA;
  • successful CI and hosting/build job;
  • deployment target and timestamp;
  • smoke-test results;
  • migrations or index changes;
  • rollback revision;
  • App Store or Play review state when applicable.

Never place signing keys, SSH keys, store credentials, JWT secrets, database URIs, or provider tokens in documentation, source control, workflow output, or PR descriptions.