From 2c53b871255e4ca404b86721cc7abd86a9b154e6 Mon Sep 17 00:00:00 2001 From: Vensen Date: Wed, 16 Sep 2026 16:34:58 +0800 Subject: [PATCH] fix: select the current Pages artifact on deployment retries --- .github/workflows/pages.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 4a5568d..9c1948d 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -54,7 +54,10 @@ jobs: python3 scripts/check-static.py - uses: actions/upload-pages-artifact@v3 with: + name: github-pages-${{ github.run_attempt }} path: dist - name: Publish id: deployment uses: actions/deploy-pages@v4 + with: + artifact_name: github-pages-${{ github.run_attempt }}