diff --git a/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml b/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml index 144e17b..568373c 100644 --- a/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml +++ b/.forgejo/workflows/tofu-plan-k8s-wheatley.yaml @@ -7,7 +7,10 @@ on: branches: - main # paths: - # - pve01.wheatley.in/k8s-whealtey/** + # - pve01.wheatley.in/k8s-wheatley/** + +env: + TOFU_DIR: pve01.wheatley.in/k8s-wheatley jobs: tofu-plan-k8s-wheatley: @@ -19,17 +22,21 @@ jobs: - name: OpenTofu fmt id: fmt run: tofu fmt -check + working-directory: ${{ env.TOFU_DIR }} continue-on-error: true - name: OpenTofu Init id: init run: tofu init + working-directory: ${{ env.TOFU_DIR }} - name: OpenTofu Validate id: validate run: tofu validate -no-color + working-directory: ${{ env.TOFU_DIR }} - name: OpenTofu Plan id: plan run: tofu plan -no-color + working-directory: ${{ env.TOFU_DIR }} continue-on-error: true