From 5e239bbfe6792325af6d7de13ea4e1b961c98de9 Mon Sep 17 00:00:00 2001 From: Shaun Struwig <41984034+Blargian@users.noreply.github.com> Date: Fri, 11 Sep 2026 13:50:13 +0200 Subject: [PATCH] Skip translation cleanup for English previews Reported at https://github.com/ClickHouse/mintlify-docs-dev/actions/runs/34595266133/job/103249446036 --- .github/workflows/site-preview.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/site-preview.yml b/.github/workflows/site-preview.yml index 118fc3e20..f836d816b 100644 --- a/.github/workflows/site-preview.yml +++ b/.github/workflows/site-preview.yml @@ -379,7 +379,9 @@ jobs: # replacements. This also covers abrupt runner termination where the # old run's EXIT trap did not execute. cancel_superseded_deployments "$VERCEL_PROJECT_ID" "english-preview" "English" - cancel_superseded_deployments "$VERCEL_TRANSLATIONS_PROJECT_ID" "translations-preview" "translations" + if [[ "$TRANSLATION_SCOPE" == "all" ]]; then + cancel_superseded_deployments "$VERCEL_TRANSLATIONS_PROJECT_ID" "translations-preview" "translations" + fi trap finalize_preview_comment EXIT trap 'exit 130' INT