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:
@ -50,16 +50,16 @@ 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
|
||||
|
||||
- name: Export tfplan
|
||||
working-directory: infra/iac
|
||||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: tofu-plan
|
||||
path: tfplan
|
||||
path: ./tfplan
|
||||
|
||||
- name: Apply
|
||||
working-directory: infra/iac
|
||||
run: |
|
||||
tofu apply -auto-approve tfplan
|
||||
tofu apply -auto-approve ./tfplan
|
||||
Reference in New Issue
Block a user