Apply suggestions from code review
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
This commit is contained in:
parent
97f400ff96
commit
d8165ccb4d
|
|
@ -1,7 +1,7 @@
|
||||||
name: Docs
|
name: Docs
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
workflow_dispatch:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
@ -28,9 +28,11 @@ jobs:
|
||||||
curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.5/mdbook-v0.4.5-x86_64-unknown-linux-gnu.tar.gz | tar xz
|
curl -L https://github.com/rust-lang/mdBook/releases/download/v0.4.5/mdbook-v0.4.5-x86_64-unknown-linux-gnu.tar.gz | tar xz
|
||||||
# Add the book directory to the $PATH
|
# Add the book directory to the $PATH
|
||||||
echo "$GITHUB_WORKSPACE/book" >> $GITHUB_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