fix: Create outputs directory before saving terraform outputs
Some checks failed
Deploy Cluster / Terraform (push) Successful in 2m34s
Deploy Cluster / Ansible (push) Failing after 3m48s

This commit is contained in:
2026-02-28 22:27:24 +00:00
parent 3fafb85780
commit 683f994905

View File

@@ -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'