From 61c0552502d3d0a195f8afd886b81573647f11c0 Mon Sep 17 00:00:00 2001 From: Philipp Weiler Date: Fri, 25 Sep 2026 14:06:26 -0400 Subject: [PATCH] ci: stop deploying demo book to GitHub Pages The template repo has no use for a hosted demo site; generated projects deploy their own via book.yml. The deployed site also showed MyST's BASE_URL banner because the build never set BASE_URL. Remove the Pages upload step, the deploy job, the pages/id-token permissions and the pages concurrency group, and rename the workflow to test-template. Keep the book build as a smoke test for generated projects. Closes #164 --- .github/workflows/test.yml | 29 +---------------------------- 1 file changed, 1 insertion(+), 28 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3d544eb..3ffd79e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: test-template-and-deploy-demo +name: test-template on: push: @@ -10,12 +10,6 @@ on: permissions: contents: read - pages: write - id-token: write - -concurrency: - group: "pages" - cancel-in-progress: false jobs: generate-and-build: @@ -71,24 +65,3 @@ jobs: - name: Build the demo book working-directory: /tmp/cc-out/Example Analysis/notebooks run: uv run jupyter-book build --html - - - name: Upload book artifact - if: github.ref == 'refs/heads/main' - uses: actions/upload-pages-artifact@v5 - with: - path: "/tmp/cc-out/Example Analysis/notebooks/_build/html" - - deploy: - needs: generate-and-build - if: github.ref == 'refs/heads/main' - runs-on: ubuntu-latest - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - steps: - - name: Setup Pages - uses: actions/configure-pages@v6 - - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v5