# deploy-ecs Reusable workflow — `deploy-ecs`. ## Inputs | Input | Type | Required | Default | Description | |---|---|---|---|---| | `tier` | `string` | yes | — | Deployment tier to roll out (e.g. prod, staging). Must have a matching DEPLOY_CONFIG_ variable provisioned by infra. | | `migrations-hash-file` | `string` | no | `be/migrations/migration-hash.txt` | Path (in the checkout) of a file identifying the source tree's migration state (the alembic head revision that `just db write-migration-hash` maintains). When it matches the applied revisions reported by the tier's API (GET /v1/ops/migrations), the migrate task is skipped. Set to "" to always run migrations. | | `be-context` | `string` | no | `be` | Docker build context for the be image (relative to the checkout root). The ECR repository name stays /be regardless. | | `opa-context` | `string` | no | `opa` | Docker build context for the opa image (relative to the checkout root). | | `render-context` | `string` | no | `render` | Docker build context for the render image (relative to the checkout root). | ## Usage ```yaml jobs: config: uses: FSHTech/github-actions/.github/workflows/deploy-ecs.yml@v1 with: tier: ... ```