From f62b66262ae76aa36a9103c257b810b434c6a2ba Mon Sep 17 00:00:00 2001 From: bbalouki Date: Sat, 27 Jun 2026 19:46:10 +0100 Subject: [PATCH 1/2] Enable Pages via configure-pages so deploy-pages can create a deployment The 404 at "Creating Pages deployment" means the Pages site is not configured with the GitHub Actions source. Add actions/configure-pages with enablement: true to the build job so the workflow sets build_type=workflow itself, covering both the not-enabled and wrong-source (Deploy from a branch) cases without a manual settings change. Co-Authored-By: Claude Opus 4.8 --- .github/workflows/docs.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 80da15a..fd2c9fd 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -20,6 +20,14 @@ jobs: steps: - uses: actions/checkout@v4 + # Enable Pages with the "GitHub Actions" source programmatically so deploy-pages can create a + # deployment; without this the site must be switched to GitHub Actions in repo settings first, + # otherwise createPagesDeployment returns 404 ("Ensure GitHub Pages has been enabled"). + - name: Setup Pages + uses: actions/configure-pages@v5 + with: + enablement: true + - name: Install Doxygen run: sudo apt-get update && sudo apt-get install -y doxygen From 86cb33960d372137b64523b3db04557b61d49087 Mon Sep 17 00:00:00 2001 From: bbalouki Date: Sat, 27 Jun 2026 19:48:35 +0100 Subject: [PATCH 2/2] update worflow --- .github/workflows/docs.yaml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index fd2c9fd..53a5e08 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -20,9 +20,6 @@ jobs: steps: - uses: actions/checkout@v4 - # Enable Pages with the "GitHub Actions" source programmatically so deploy-pages can create a - # deployment; without this the site must be switched to GitHub Actions in repo settings first, - # otherwise createPagesDeployment returns 404 ("Ensure GitHub Pages has been enabled"). - name: Setup Pages uses: actions/configure-pages@v5 with: