diff --git a/.gitea/workflows/ci-test.yaml b/.gitea/workflows/ci-test.yaml index 1c1f016..04324e4 100644 --- a/.gitea/workflows/ci-test.yaml +++ b/.gitea/workflows/ci-test.yaml @@ -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