This project used this repository as a template: https://bookdown.org/yihui/bookdown-demo/, then generally followed this article to create the GitHub action to deploy as a website.
Things I changed to .github/workflow/deploy_bookdown.yml
:
- changed the branch identified at the top of the file from
main
tomaster
- updated last section, "Deploy to GitHub Pages":
- newer version of
Cecilapp/GitHub-Pages-deploy
GH_TOKEN
toGITHUB_TOKEN
- moved
BUILD_DIR
fromenv
towith
- newer version of
Also note that when creating your personal access token,
you need to select the box net to workflow
to provide appropriate permissions.