mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 07:43:07 +00:00
Update .gitea/workflows/ci-test.yaml
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user