File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11# Workflow for building and deploying a mdBook site to GitHub Pages.
2- # - On push to main: deploys to the root of gh-pages.
2+ # - On push to main: deploys to docs/ on gh-pages.
33# - On pull_request: deploys a preview under pr-preview/pr-<number>/ on gh-pages,
44# comments the preview URL, and cleans up when the PR closes.
55#
66# Repo Settings required:
7- # Pages -> Source: "Deploy from a branch" -> gh-pages / (root)
7+ # Pages -> Source: "Deploy from a branch" -> gh-pages / /docs
88# Actions -> General -> Workflow permissions: "Read and write permissions"
99#
1010# See: https://rust-lang.github.io/mdBook/index.html
7979 with :
8080 branch : gh-pages
8181 folder : ./book
82+ target-folder : docs
8283 clean : true
8384 clean-exclude : pr-preview
8485
You can’t perform that action at this time.
0 commit comments