From 683f99490537aee4f5813f4b58e39b39f2474075 Mon Sep 17 00:00:00 2001 From: MichaelFisher1997 Date: Sat, 28 Feb 2026 22:27:24 +0000 Subject: [PATCH] fix: Create outputs directory before saving terraform outputs --- .gitea/workflows/deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 7d4aa1c..5fe9af4 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -99,8 +99,10 @@ jobs: - name: Save Terraform Outputs if: github.ref == 'refs/heads/main' && github.event_name == 'push' + run: | + mkdir -p outputs + terraform output -json > outputs/terraform_outputs.json working-directory: terraform - run: terraform output -json > ../outputs/terraform_outputs.json - name: Upload Outputs if: github.ref == 'refs/heads/main' && github.event_name == 'push'