diff --git a/.gitea/workflows/ci-test.yaml b/.gitea/workflows/ci-test.yaml index a38d809..0f4767b 100644 --- a/.gitea/workflows/ci-test.yaml +++ b/.gitea/workflows/ci-test.yaml @@ -52,11 +52,12 @@ jobs: done tofu plan $VAR_FILES -out=./tfplan - - name: Export tfplan - uses: actions/upload-artifact@v4 - with: - name: tofu-plan - path: infra/iac/tfplan + - name: Upload tfplan to Gitea Packages + working-directory: infra/iac + run: | + curl --user ${{ secrets.GITEA_USER }}:${{ secrets.GITEA_TOKEN }} \ + --upload-file ./tfplan \ + https://gitea.fenix-dev.com/api/packages/fenix-gitea-admin/generic/tofu-plan/${{ github.sha }}/tfplan - name: Apply working-directory: infra/iac