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 mdBook site to Pages
2+ on :
3+ push :
4+ branches : [ "main" ]
5+ workflow_dispatch :
6+ permissions :
7+ contents : read
8+ pages : write
9+ id-token : write
10+ concurrency :
11+ group : " pages"
12+ cancel-in-progress : false
13+ jobs :
14+ build :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout
18+ uses : actions/checkout@v4
19+ - name : Install mdBook
20+ run : |
21+ curl -sSL https://github.com/rust-lang/mdBook/releases/download/v0.4.28/mdbook-v0.4.28-x86_64-unknown-linux-gnu.tar.gz | tar -xz
22+ - name : Setup Pages
23+ uses : actions/configure-pages@v4
24+ - name : Build with mdBook
25+ run : ./mdbook build --dest-dir ./book
26+ - name : Upload artifact
27+ uses : actions/upload-pages-artifact@v3
28+ with :
29+ path : ./book
30+ deploy :
31+ environment :
32+ name : github-pages
33+ url : ${{ steps.deployment.outputs.page_url }}
34+ runs-on : ubuntu-latest
35+ needs : build
36+ steps :
37+ - name : Deploy to GitHub Pages
38+ id : deployment
39+ uses : actions/deploy-pages@v4
Original file line number Diff line number Diff line change 11# Summary
22
3- - [ Chapter 1] ( ./chapter_1.md )
3+ [ Igor Group] ( ./index.md )
4+ - [ Page 1] ( ./page_1.md )
Original file line number Diff line number Diff line change 1+ # Igor Group
File renamed without changes.
You can’t perform that action at this time.
0 commit comments