mirror of
https://github.com/TeachBooks/template.git
synced 2026-11-12 22:25:52 +00:00
1.4 KiB
1.4 KiB
Template
Update: Feb 23 transferred files from Risk and Reliability Book to set things up.
This will be the future home of the template book. Design philosophy:
- people will fork this to create a book in as easy-as-possible a way
- minimal changes should be made to the book contents itself, to prevent downstream merge conflicts
- focus is mostly on providing a clean and simply view to the key features in our book repo (e.g., config files, scripts, markup flags, etc)
How to deploy a fork of this book on GitHub Pages
- Click
Fork, and set a name for your new book. - To enable deploying via GitHub Actions, go to
⚙ Settings, then toPages, and underBuild and DeploymentsetSourcetoGitHub Actions. - To trigger a deployment for the first time, you can go to
Actions(top panel), then clickdeploy-bookon the left, thenRun workflowon the right. The book is also automatically deployed whenever commits are pushed onto themainbranch of the repository (in absence of errors).
Voila! You can now access the copy of the template at
https://<username>.github.io/<bookname> (e.g. https://teachbooks.github.io/template).
To learn more about how we do this, please see the GitHub Actions documentation and our deployment pipeline configuration file .github/workflows/deploy-book-ghpages.yml.