Skip to content

Commit 1c09e9e

Browse files
authored
Update mdbook.yml
1 parent 3899180 commit 1c09e9e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/mdbook.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,18 @@ jobs:
3737
with:
3838
key: mdbook
3939
path: ./cargo/**/*
40+
- name: Generate docs
41+
shell: bash
42+
env:
43+
CARGO_HOME: ./cargo
44+
run: |
45+
export PATH=`pwd`/cargo/bin:${PATH}
46+
make mdbuild
47+
touch ./docs/book/.nojekyll
48+
49+
- uses: actions/configure-pages@v3
50+
- uses: actions/upload-pages-artifact@v1
51+
with:
52+
path: './docs/book'
53+
- uses: actions/deploy-pages@v2
54+
id: deployment

0 commit comments

Comments
 (0)