Update .gitea/workflows/ci-test.yaml

This commit is contained in:
2025-08-19 17:14:16 +00:00
parent a551fe6f81
commit 16531ee2b5

View File

@ -50,14 +50,14 @@ jobs:
for f in ../secrets/secrets/*.auto.tfvars; do
VAR_FILES="$VAR_FILES -var-file=$f"
done
tofu plan $VAR_FILES -out=./tfplan
tofu plan $VAR_FILES -out=./tfplan | tee ./tfplan.txt
- name: Upload tfplan to Gitea Packages
working-directory: infra/iac
run: |
curl --user ${{ secrets.GGITEA_USER }}:${{ secrets.GGITEA_TOKEN }} \
--upload-file ./tfplan \
https://gitea.fenix-dev.com/api/packages/fenix-gitea-admin/generic/tofu-plan/${{ github.sha }}/tfplan.txt
--upload-file ./tfplan.txt \
https://gitea.fenix-dev.com/api/packages/${{ secrets.GGITEA_USER }}/generic/tofu-plan/${{ github.sha }}/tfplan.txt
- name: Apply
working-directory: infra/iac