Skip to content

Commit 5ec53f3

Browse files
committed
Allow staging Worker propagation before final verification
1 parent 496e2c6 commit 5ec53f3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/workflows/verify-docs-staging.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,10 @@ jobs:
3535
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
3636
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3737
- name: Verify deployed documentation
38-
run: node scripts/docs/smoke-worker.mjs https://docs-staging.gecode.dev 6.4.0
38+
run: |
39+
for attempt in 1 2 3 4 5 6; do
40+
if node scripts/docs/smoke-worker.mjs https://docs-staging.gecode.dev 6.4.0; then exit 0; fi
41+
if [ "$attempt" -eq 6 ]; then exit 1; fi
42+
echo "Waiting for the staging deployment to propagate (attempt $attempt)."
43+
sleep 10
44+
done

0 commit comments

Comments
 (0)