Skip to main content

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 first.

Workflow​

examples/gitea-actions/workflows/apply.yml

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.