From 8b288f9ee0fdf11dc01b6b75b6a4f517dd2a77fa Mon Sep 17 00:00:00 2001 From: bo0tzz Date: Mon, 19 Oct 2026 14:14:38 +0200 Subject: [PATCH] fix(ci): docs deploy and destroy terragrunt arguments (#32557) --- .github/workflows/docs-deploy.yml | 3 ++- .github/workflows/docs-destroy.yml | 2 +- deployment/mise.toml | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 79529c716..2ee3d42a1 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -200,8 +200,9 @@ jobs: CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} TF_STATE_POSTGRES_CONN_STR: ${{ secrets.TF_STATE_POSTGRES_CONN_STR }} working-directory: 'deployment/modules/cloudflare/docs' + shell: bash run: | - mise run //deployment:tf output -- -json | jq -r ' + mise run //deployment:tf output -json | jq -r ' "projectName=\(.pages_project_name.value)", "subdomain=\(.immich_app_branch_subdomain.value)" ' >> $GITHUB_OUTPUT diff --git a/.github/workflows/docs-destroy.yml b/.github/workflows/docs-destroy.yml index c6a185a23..81c1335d6 100644 --- a/.github/workflows/docs-destroy.yml +++ b/.github/workflows/docs-destroy.yml @@ -43,7 +43,7 @@ jobs: CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} TF_STATE_POSTGRES_CONN_STR: ${{ secrets.TF_STATE_POSTGRES_CONN_STR }} working-directory: 'deployment/modules/cloudflare/docs' - run: 'mise run //deployment:tf destroy -- -refresh=false' + run: 'mise run //deployment:tf destroy -refresh=false' - name: Comment uses: immich-app/devtools/actions/sticky-comment@0135acd12ad9f3369b94a2aa3c0ae8c835a4e926 # sticky-comment-action-v1.0.0 diff --git a/deployment/mise.toml b/deployment/mise.toml index a2c763c91..0ea7ea882 100644 --- a/deployment/mise.toml +++ b/deployment/mise.toml @@ -7,7 +7,7 @@ run = "terragrunt hclfmt" description = "Format terragrunt files" [tasks.tf] -run = "terragrunt run --all" +run = "terragrunt run --all --" description = "Wrapper for terragrunt run-all" dir = "{{cwd}}" @@ -16,5 +16,5 @@ run = "tofu fmt -recursive tf/" description = "Format terraform files" [tasks."tf:init"] -run = { task = "tf init -- -reconfigure" } +run = { task = "tf init -reconfigure" } dir = "{{cwd}}"