# Apply on Merge

Deploy infrastructure after a change merges. Atmos plans the merged commit and applies it, reporting the result as a commit status.

Complete [Setup and Authentication](/integrations/gitea-actions/setup) first.

## Workflow

`atmos terraform deploy` runs a fresh plan and applies it with `-auto-approve`.

:::note
On GitHub, a deploy can find the pull request a merge commit came from and verify the plan reviewed there. Gitea has no equivalent lookup, so the deploy plans the merged commit fresh. Do not pass `--verify-plan` in Gitea workflows: there is no reviewed plan to verify against.
:::
