There was an error while loading. Please reload this page.
1 parent 36530e2 commit 0372202Copy full SHA for 0372202
.github/workflows/ci.yml
@@ -119,15 +119,14 @@ jobs:
119
toolchain: stable
120
override: true
121
- name: Install mdbook
122
- run: |
123
- set -e
124
- curl -L https://github.com/rust-lang/mdBook/releases/download/v0.3.5/mdbook-v0.3.5-x86_64-unknown-linux-gnu.tar.gz | tar xzf -
125
- echo ::add-path::`pwd`
+ uses: peaceiris/actions-mdbook@v1
+ with:
+ mdbook-version: '0.3.5'
126
- run: cd doc && mdbook build
127
- name: Push to gh-pages
128
uses: peaceiris/actions-gh-pages@v2
129
env:
130
ACTIONS_DEPLOY_KEY: ${{ secrets.GITHUB_DEPLOY_KEY }}
131
PUBLISH_BRANCH: gh-pages
132
- PUBLISH_DIR: ./doc/build
+ PUBLISH_DIR: ./doc/book
133
if: github.event_name == 'push' && github.event.ref == 'refs/heads/master'
0 commit comments