Skip to content

High performance self-hosted photo and video management solution.

fix(ci): docs deploy and destroy terragrunt arguments (#32557)

bo0tzz76ae1aa4ba6c
diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml
index 1646256b58..0ad6b91345 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 8538c5582c..f06814d0f0 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@5f79a5a552b30a23aa7984ffa06c3dbfaf4330f6 # sticky-comment-action-v1.1.0
diff --git a/deployment/mise.toml b/deployment/mise.toml
index f1a53703e4..5164f11953 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}}"