We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 056bd18 commit 1d086f2Copy full SHA for 1d086f2
1 file changed
.github/workflows/mdbook.yml
@@ -1,10 +1,10 @@
1
# Workflow for building and deploying a mdBook site to GitHub Pages.
2
-# - On push to main: deploys to the root of gh-pages.
+# - On push to main: deploys to docs/ on gh-pages.
3
# - On pull_request: deploys a preview under pr-preview/pr-<number>/ on gh-pages,
4
# comments the preview URL, and cleans up when the PR closes.
5
#
6
# Repo Settings required:
7
-# Pages -> Source: "Deploy from a branch" -> gh-pages / (root)
+# Pages -> Source: "Deploy from a branch" -> gh-pages / /docs
8
# Actions -> General -> Workflow permissions: "Read and write permissions"
9
10
# See: https://rust-lang.github.io/mdBook/index.html
@@ -79,6 +79,7 @@ jobs:
79
with:
80
branch: gh-pages
81
folder: ./book
82
+ target-folder: docs
83
clean: true
84
clean-exclude: pr-preview
85
0 commit comments