From 1d6009957f5bec1bb73ae2b6e4231241c5dcc8de Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 24 Aug 2026 15:01:38 +0000 Subject: [PATCH] Let the Pages workflow enable Pages itself MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Both deploy runs failed at configure-pages with "Get Pages site failed … Not Found": the repo had never had Pages turned on, so there was no Pages site for the action to configure. Set enablement: true so the action creates the Pages site via the API when one does not exist, rather than requiring someone to visit Settings -> Pages and pick the GitHub Actions source by hand. This also means a fresh fork of this repo deploys without manual setup. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_016F6MR5mdWYJmZJsZzE7rKu --- .github/workflows/pages.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 2c8fcc99..cb30c185 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -31,8 +31,13 @@ jobs: - name: Checkout uses: actions/checkout@v4 + # enablement: true turns Pages on via the API if it is not already + # enabled, so a fresh clone or fork of this repo deploys without anyone + # having to visit Settings -> Pages first. - name: Configure Pages uses: actions/configure-pages@v5 + with: + enablement: true - name: Upload site uses: actions/upload-pages-artifact@v3