File tree 7 files changed +43
-0
lines changed
7 files changed +43
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : github pages
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - main
7
+ pull_request :
8
+
9
+ jobs :
10
+ deploy :
11
+ runs-on : ubuntu-20.04
12
+ concurrency :
13
+ group : ${{ github.workflow }}-${{ github.ref }}
14
+ steps :
15
+ - uses : actions/checkout@v2
16
+
17
+ - name : Setup mdBook
18
+ uses : peaceiris/actions-mdbook@v1
19
+ with :
20
+ mdbook-version : ' 0.4.10'
21
+ # mdbook-version: 'latest'
22
+
23
+ - run : mdbook build
24
+
25
+ - name : Deploy
26
+ uses : peaceiris/actions-gh-pages@v3
27
+ if : ${{ github.ref == 'refs/heads/main' }}
28
+ with :
29
+ github_token : ${{ secrets.GITHUB_TOKEN }}
30
+ publish_dir : ./book
Original file line number Diff line number Diff line change
1
+ book
Original file line number Diff line number Diff line change
1
+ src/CNAME
Original file line number Diff line number Diff line change
1
+ [book ]
2
+ authors = [" Brett Chalupa" ]
3
+ language = " en"
4
+ multilingual = false
5
+ src = " src"
6
+ title = " Building Games with DragonRuby Game Toolkit"
Original file line number Diff line number Diff line change
1
+ book.dragonriders.community
Original file line number Diff line number Diff line change
1
+ # Summary
2
+
3
+ - [ Chapter 1] ( ./chapter_1.md )
Original file line number Diff line number Diff line change
1
+ # Chapter 1
You can’t perform that action at this time.
0 commit comments