Create gitea workflow

This commit is contained in:
Ben Martin 2024-06-03 21:42:32 +01:00
parent 1c94485587
commit d4335ca10e
No known key found for this signature in database
GPG key ID: 11936493893207E4

View file

@ -0,0 +1,21 @@
name: Deploy
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Terraform Init
run: |
terraform init -input=false
- name: Terraform Plan
run: |
terraform plan -out=tfplan -input=false
- name: Terraform Apply
run: |
terraform apply -input=false tfplan