From 0578a0cf6359bb3fd8521984ba815bf3b79f8556 Mon Sep 17 00:00:00 2001 From: Paul O'Fallon Date: Tue, 2 Jun 2026 01:34:50 +0000 Subject: [PATCH] ci(release): auto-enable GitHub Pages in deploy step Set enablement: true on actions/configure-pages so the Pages site is created automatically (using the job's pages: write permission) instead of failing with 'Get Pages site failed' when Pages was never enabled. Co-Authored-By: Claude Opus 4.8 (1M context) --- .github/workflows/release.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 19ec3d2..ba58c25 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -454,6 +454,10 @@ jobs: - name: Setup Pages uses: actions/configure-pages@v4 + with: + # Auto-create the Pages site if it isn't enabled yet (uses the + # job's pages: write permission). Avoids 'Get Pages site failed'. + enablement: true - name: Upload Pages artifact uses: actions/upload-pages-artifact@v5