We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bfdb2c0 commit 596c7f3Copy full SHA for 596c7f3
.github/workflows/deploy-docs.yml
@@ -0,0 +1,28 @@
1
+name: Deploy mdBook to GitHub Pages
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ build:
10
+ runs-on: ubuntu-latest
11
12
+ steps:
13
+ - name: Checkout repository
14
+ uses: actions/checkout@v3
15
16
+ - name: Install mdBook
17
+ uses: peaceiris/actions-mdbook@v1
18
+ with:
19
+ mdbook-version: 'latest'
20
21
+ - name: Build the book
22
+ run: mdbook build docs
23
24
+ - name: Deploy to GitHub Pages
25
+ uses: peaceiris/actions-gh-pages@v3
26
27
+ github_token: ${{ secrets.GITHUB_TOKEN }}
28
+ publish_dir: ./docs/book
0 commit comments