cargo install mdbook
This commit is contained in:
parent
45cbfa8e67
commit
71b41f0206
|
|
@ -17,7 +17,7 @@ jobs:
|
||||||
uses: actions/checkout@v2.3.4
|
uses: actions/checkout@v2.3.4
|
||||||
with:
|
with:
|
||||||
persist-credentials: false
|
persist-credentials: false
|
||||||
|
|
||||||
- name: Install latest beta
|
- name: Install latest beta
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
|
|
@ -27,15 +27,12 @@ jobs:
|
||||||
|
|
||||||
- name: Install mdbook
|
- name: Install mdbook
|
||||||
run: |
|
run: |
|
||||||
cd book
|
cargo install mdbook
|
||||||
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
|
|
||||||
|
|
||||||
- name: Build Zebra book
|
- name: Build Zebra book
|
||||||
run: |
|
run: |
|
||||||
mdbook build book/
|
mdbook build book/
|
||||||
|
|
||||||
- name: Deploy Zebra book to firebase
|
- name: Deploy Zebra book to firebase
|
||||||
uses: w9jds/firebase-action@v2.0.0
|
uses: w9jds/firebase-action@v2.0.0
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue