Skip to content

ci: stop deploying demo book to GitHub Pages - #165

Merged
WeilerP merged 1 commit into
mainfrom
chore/stop-pages-deploy
Sep 25, 2026
Merged

WeilerP merged 1 commit into
mainfrom
chore/stop-pages-deploy

Conversation

@WeilerP

@WeilerP WeilerP commented Sep 25, 2026 •

Copy link
Copy Markdown
Owner

Changes

  • Remove the Pages upload step and the deploy job from .github/workflows/test.yml; the template repo no longer publishes a demo site (it showed MyST's BASE_URL banner because the build never set BASE_URL)
  • Reduce permissions to contents: read and remove the pages concurrency group in .github/workflows/test.yml; both only served the deployment
  • Rename the workflow test-template-and-deploy-demo → test-template
  • Keep the "Build the demo book" step as a smoke test for generated projects, which deploy their own site via {{ cookiecutter.project_name }}/.github/workflows/book.yml (already sets BASE_URL)

Related issues

Closes #164

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
@WeilerP
WeilerP marked this pull request as ready for review September 25, 2026 18:10
@WeilerP
WeilerP merged commit d473a18 into main Sep 25, 2026
1 check passed
@WeilerP
WeilerP deleted the chore/stop-pages-deploy branch September 25, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ci: stop deploying demo book to GitHub Pages

1 participant