mirror of
https://gitea.fenix-dev.com/fenix-gitea-admin/iac-opentofu-private.git
synced 2025-10-27 15:53:06 +00:00
Update .gitea/workflows/ci-test.yaml
This commit is contained in:
@ -52,11 +52,12 @@ jobs:
|
|||||||
done
|
done
|
||||||
tofu plan $VAR_FILES -out=./tfplan
|
tofu plan $VAR_FILES -out=./tfplan
|
||||||
|
|
||||||
- name: Export tfplan
|
- name: Upload tfplan to Gitea Packages
|
||||||
uses: actions/upload-artifact@v4
|
working-directory: infra/iac
|
||||||
with:
|
run: |
|
||||||
name: tofu-plan
|
curl --user ${{ secrets.GITEA_USER }}:${{ secrets.GITEA_TOKEN }} \
|
||||||
path: infra/iac/tfplan
|
--upload-file ./tfplan \
|
||||||
|
https://gitea.fenix-dev.com/api/packages/fenix-gitea-admin/generic/tofu-plan/${{ github.sha }}/tfplan
|
||||||
|
|
||||||
- name: Apply
|
- name: Apply
|
||||||
working-directory: infra/iac
|
working-directory: infra/iac
|
||||||
|
|||||||
Reference in New Issue
Block a user