example-deployable-app/.github/workflows/deploy.yml

20 lines
339 B
YAML

name: Deploy
on:
push:
branches:
- main
concurrency:
group: ${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
deploy:
name: Deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: opentofu/setup-opentofu@v1
- run: tofu init
- run: tofu apply -no-color