From 0f0e7083a6ecfd32bfb940665717e8353bd2f201 Mon Sep 17 00:00:00 2001 From: maruson08 Date: Fri, 25 Sep 2026 23:45:56 +0900 Subject: [PATCH] =?UTF-8?q?=F0=9F=9A=A8[Hotfix]=20Restore=20production=20d?= =?UTF-8?q?eployment=20trigger?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy-cloudflare-bridge.yml | 2 +- tests/cloudflare-bridge.test.mjs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-cloudflare-bridge.yml b/.github/workflows/deploy-cloudflare-bridge.yml index 97a4b04..29e1cf4 100644 --- a/.github/workflows/deploy-cloudflare-bridge.yml +++ b/.github/workflows/deploy-cloudflare-bridge.yml @@ -90,7 +90,7 @@ jobs: [[ ! -e "$BRIDGE_DIRECTORY/_redirects" ]] [[ ! -e "$BRIDGE_DIRECTORY/_worker.js" ]] [[ ! -d "$BRIDGE_DIRECTORY/functions" ]] - [[ "$(find "$BRIDGE_DIRECTORY" -name index.html -type f | wc -l)" -eq 19 ]] + [[ "$(find "$BRIDGE_DIRECTORY" -name index.html -type f | wc -l)" -eq 20 ]] - name: Validate Cloudflare Pages project isolation shell: bash diff --git a/tests/cloudflare-bridge.test.mjs b/tests/cloudflare-bridge.test.mjs index e48349a..4935fb3 100644 --- a/tests/cloudflare-bridge.test.mjs +++ b/tests/cloudflare-bridge.test.mjs @@ -26,6 +26,7 @@ assert.match(workflow, /web_analytics_token/); assert.match(workflow, /Pages project state:/); assert.match(workflow, /\[\[ ! -e "\$BRIDGE_DIRECTORY\/CNAME" \]\]/); assert.match(workflow, /\[\[ ! -e "\$BRIDGE_DIRECTORY\/_redirects" \]\]/); +assert.match(workflow, /find "\$BRIDGE_DIRECTORY" -name index\.html -type f \| wc -l\)" -eq 20/); assert.doesNotMatch(workflow, /securetools\.app\/tools/); assert.match(workflow, /node tests\/deployment-smoke\.mjs "\$DEPLOYMENT_URL" noindex/); assert.match(workflow, /node tests\/deployment-smoke\.mjs https:\/\/secure-tools-web-bridge\.pages\.dev noindex/);