fix(ci): docs deploy and destroy terragrunt arguments (#32557)
This commit is contained in:
@@ -200,8 +200,9 @@ jobs:
|
|||||||
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
TF_STATE_POSTGRES_CONN_STR: ${{ secrets.TF_STATE_POSTGRES_CONN_STR }}
|
TF_STATE_POSTGRES_CONN_STR: ${{ secrets.TF_STATE_POSTGRES_CONN_STR }}
|
||||||
working-directory: 'deployment/modules/cloudflare/docs'
|
working-directory: 'deployment/modules/cloudflare/docs'
|
||||||
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
mise run //deployment:tf output -- -json | jq -r '
|
mise run //deployment:tf output -json | jq -r '
|
||||||
"projectName=\(.pages_project_name.value)",
|
"projectName=\(.pages_project_name.value)",
|
||||||
"subdomain=\(.immich_app_branch_subdomain.value)"
|
"subdomain=\(.immich_app_branch_subdomain.value)"
|
||||||
' >> $GITHUB_OUTPUT
|
' >> $GITHUB_OUTPUT
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ jobs:
|
|||||||
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
|
||||||
TF_STATE_POSTGRES_CONN_STR: ${{ secrets.TF_STATE_POSTGRES_CONN_STR }}
|
TF_STATE_POSTGRES_CONN_STR: ${{ secrets.TF_STATE_POSTGRES_CONN_STR }}
|
||||||
working-directory: 'deployment/modules/cloudflare/docs'
|
working-directory: 'deployment/modules/cloudflare/docs'
|
||||||
run: 'mise run //deployment:tf destroy -- -refresh=false'
|
run: 'mise run //deployment:tf destroy -refresh=false'
|
||||||
|
|
||||||
- name: Comment
|
- name: Comment
|
||||||
uses: immich-app/devtools/actions/sticky-comment@0135acd12ad9f3369b94a2aa3c0ae8c835a4e926 # sticky-comment-action-v1.0.0
|
uses: immich-app/devtools/actions/sticky-comment@0135acd12ad9f3369b94a2aa3c0ae8c835a4e926 # sticky-comment-action-v1.0.0
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ run = "terragrunt hclfmt"
|
|||||||
description = "Format terragrunt files"
|
description = "Format terragrunt files"
|
||||||
|
|
||||||
[tasks.tf]
|
[tasks.tf]
|
||||||
run = "terragrunt run --all"
|
run = "terragrunt run --all --"
|
||||||
description = "Wrapper for terragrunt run-all"
|
description = "Wrapper for terragrunt run-all"
|
||||||
dir = "{{cwd}}"
|
dir = "{{cwd}}"
|
||||||
|
|
||||||
@@ -16,5 +16,5 @@ run = "tofu fmt -recursive tf/"
|
|||||||
description = "Format terraform files"
|
description = "Format terraform files"
|
||||||
|
|
||||||
[tasks."tf:init"]
|
[tasks."tf:init"]
|
||||||
run = { task = "tf init -- -reconfigure" }
|
run = { task = "tf init -reconfigure" }
|
||||||
dir = "{{cwd}}"
|
dir = "{{cwd}}"
|
||||||
|
|||||||
Reference in New Issue
Block a user