diff --git a/.gitea/workflows/deploy.yaml b/.gitea/workflows/deploy.yaml new file mode 100644 index 0000000..6ce677d --- /dev/null +++ b/.gitea/workflows/deploy.yaml @@ -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