File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -44,11 +44,11 @@ jobs:
4444 runs-on : ubuntu-20.04
4545 steps :
4646 - uses : actions/checkout@v2
47- - uses : actions-rs/toolchain@v1
48- with :
49- profile : minimal
5047 - name : Install mdbook
51- run : cargo install mdbook mdbook-toc
48+ run : |
49+ wget https://github.com/rust-lang/mdBook/releases/download/v0.4.21/mdbook-v0.4.21-x86_64-unknown-linux-gnu.tar.gz -O ~/mdbook.tar.gz
50+ tar xvf ~/mdbook.tar.gz -C ~
5251 - name : Build docs
5352 working-directory : ./docs
54- run : mdbook build
53+ run : ~/mdbook build
54+
Original file line number Diff line number Diff line change @@ -18,19 +18,19 @@ jobs:
1818 runs-on : ubuntu-latest
1919 steps :
2020 - uses : actions/checkout@v2
21- - uses : actions-rs/toolchain@v1
22- with :
23- profile : minimal
2421 - name : Install mdbook
25- run : cargo install mdbook mdbook-toc
22+ run : |
23+ wget https://github.com/rust-lang/mdBook/releases/download/v0.4.21/mdbook-v0.4.21-x86_64-unknown-linux-gnu.tar.gz -O ~/mdbook.tar.gz
24+ tar xvf ~/mdbook.tar.gz -C ~
2625 - name : Build docs
2726 working-directory : ./docs
28- run : mdbook build
27+ run : ~/ mdbook build
2928 - name : Deploy to GitHub Pages
3029 if : ${{ github.ref == 'refs/heads/main' }}
3130 uses : peaceiris/actions-gh-pages@v3
3231 with :
3332 publish_dir : ./docs/book
33+ github_token : ${{ secrets.GITHUB_TOKEN }}
3434 user_name : ' github-actions[bot]'
3535 user_email : ' github-actions[bot]@users.noreply.github.com'
3636 force_orphan : true
You can’t perform that action at this time.
0 commit comments