From 7bbef1beb74f56e989b8b0a83af2bb9662432c19 Mon Sep 17 00:00:00 2001 From: Gaia Date: Fri, 10 Apr 2026 12:00:10 -0300 Subject: [PATCH] chore: update plan workflow --- .gitea/workflows/terraform-plan.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/terraform-plan.yml b/.gitea/workflows/terraform-plan.yml index 33a8c77..4255365 100644 --- a/.gitea/workflows/terraform-plan.yml +++ b/.gitea/workflows/terraform-plan.yml @@ -34,7 +34,7 @@ jobs: TF_CLOUD_TOKEN: ${{ secrets.TF_CLOUD_TOKEN }} run: | mkdir -p ~/.terraform.d/credentials - cat > ~/.terraform.d/credentials/tfcred.tfrc << EOF + cat > ~/.terraform.d/credentials/tfcred.tfrc << 'EOF' credentials "app.terraform.io" { token = "$TF_CLOUD_TOKEN" } @@ -54,3 +54,8 @@ EOF working-directory: ./terraform run: | terraform plan -no-color 2>&1 | tee /tmp/plan_output.txt + + - name: Upload Plan Output + if: always() + run: | + cat /tmp/plan_output.txt || echo "No plan output"