cargo install mdbook
This commit is contained in:
parent
45cbfa8e67
commit
71b41f0206
|
@ -17,7 +17,7 @@ jobs:
|
|||
uses: actions/checkout@v2.3.4
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
|
||||
- name: Install latest beta
|
||||
uses: actions-rs/toolchain@v1
|
||||
with:
|
||||
|
@ -27,15 +27,12 @@ jobs:
|
|||
|
||||
- name: Install mdbook
|
||||
run: |
|
||||
cd book
|
||||
curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.10/mdbook-v0.4.10-x86_64-unknown-linux-gnu.tar.gz | tar xz
|
||||
# Add the book directory to the $PATH
|
||||
echo "$GITHUB_WORKSPACE/book" >> $GITHUB_PATH
|
||||
|
||||
cargo install mdbook
|
||||
|
||||
- name: Build Zebra book
|
||||
run: |
|
||||
mdbook build book/
|
||||
|
||||
|
||||
- name: Deploy Zebra book to firebase
|
||||
uses: w9jds/firebase-action@v2.0.0
|
||||
with:
|
||||
|
|
Loading…
Reference in New Issue