From 9056832562b2ff1250f6e811176924cec1a4abbb Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Thu, 17 Apr 2025 11:10:02 +0100 Subject: [PATCH] terraform apply --- .gitea/workflows/terraform-apply.yml | 4 ++-- .gitea/workflows/terraform-plan.yml | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/terraform-apply.yml b/.gitea/workflows/terraform-apply.yml index 3124c85..dbe8765 100644 --- a/.gitea/workflows/terraform-apply.yml +++ b/.gitea/workflows/terraform-apply.yml @@ -38,7 +38,7 @@ jobs: working-directory: terraform run: terraform plan - - name: Terraform Plan + - name: Terraform Apply working-directory: terraform - run: terraform apply + run: terraform apply -auto-approve diff --git a/.gitea/workflows/terraform-plan.yml b/.gitea/workflows/terraform-plan.yml index fb93823..5ee4507 100644 --- a/.gitea/workflows/terraform-plan.yml +++ b/.gitea/workflows/terraform-plan.yml @@ -1,7 +1,11 @@ name: Gitea Actions Demo run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀 -on: [push] +on: + push: + branches: + - stage + - test jobs: terraform: