# deploy-ecs Reusable workflow — `deploy-ecs`. ## Inputs | Input | Type | Required | Default | Description | |---|---|---|---|---| | `tier` | `string` | yes | — | Deployment tier to roll out (prod \| staging). | | `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. | ## Usage ```yaml jobs: config: uses: FSHTech/github-actions/.github/workflows/deploy-ecs.yml@v1 with: tier: ... ```