File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy Documentation to GitHub Pages
2+
3+ on :
4+ push :
5+ branches :
6+ - master
7+ paths :
8+ - ' uzumibi-docs/**'
9+ - ' .github/workflows/deploy-docs.yml'
10+ workflow_dispatch :
11+
12+ permissions :
13+ contents : read
14+ pages : write
15+ id-token : write
16+
17+ concurrency :
18+ group : " pages"
19+ cancel-in-progress : false
20+
21+ jobs :
22+ build :
23+ runs-on : ubuntu-latest
24+ steps :
25+ - name : Checkout repository
26+ uses : actions/checkout@v4
27+ with :
28+ fetch-depth : 0
29+
30+ - name : Setup mdBook
31+ uses : peaceiris/actions-mdbook@v2
32+ with :
33+ mdbook-version : ' latest'
34+
35+ - name : Build documentation
36+ run : |
37+ cd uzumibi-docs
38+ mdbook build
39+
40+ - name : Upload artifact
41+ uses : actions/upload-pages-artifact@v3
42+ with :
43+ path : ./uzumibi-docs/book
44+
45+ - name : Deploy to GitHub Pages
46+ id : deployment
47+ uses : actions/deploy-pages@v4
You can’t perform that action at this time.
0 commit comments