From 470b6dcb8e35a20d6ab2e99395669ca7fb965f4a Mon Sep 17 00:00:00 2001 From: pgijsbertsen <117165507+pgijsbertsen@users.noreply.github.com> Date: Sat, 29 Nov 2025 11:15:28 +0100 Subject: [PATCH] chore: Set working directory --- .forgejo/workflows/tofu-plan-k8s-wheatley.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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