From 614ed74f0a94aac88e1eb105266c7cffeb3220c1 Mon Sep 17 00:00:00 2001 From: rdlabo Date: Fri, 20 Nov 2026 17:13:02 +0900 Subject: [PATCH] Allow GitHub Pages time to publish Playwright reports --- .github/workflows/e2e-pull_request.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/e2e-pull_request.yml b/.github/workflows/e2e-pull_request.yml index f34ceadd..e8a1e1e1 100644 --- a/.github/workflows/e2e-pull_request.yml +++ b/.github/workflows/e2e-pull_request.yml @@ -178,11 +178,14 @@ jobs: - name: Verify published report URL env: REPORT_URL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}/pr-${{ github.event.pull_request.number }}/ - run: curl --fail --silent --show-error --location --retry 6 --retry-delay 10 --retry-all-errors --max-time 20 --output /dev/null "$REPORT_URL" + # Pages builds the site asynchronously after the gh-pages push. + run: >- + curl --fail --silent --show-error --location + --retry 40 --retry-delay 15 --retry-max-time 600 --retry-all-errors + --max-time 20 --output /dev/null "$REPORT_URL" - name: Comment PR with report link uses: actions/github-script@v7 - if: always() with: script: | const prNumber = context.payload.pull_request.number;