Add workflow for docs deployment

This commit is contained in:
Raphaël Walther
2023-04-13 12:41:30 +02:00
committed by Jon Häggblad
parent e1aaf509d1
commit f30f0e8316
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -20,6 +20,15 @@ jobs:
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Install Rust stable
uses: actions-rs/toolchain@v1
with:
toolchain: stable
- name: Build all binaries
uses: actions-rs/cargo@v1
with:
command: build
args: --workspace --release --all
- name: Install mdbook
run: (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.4" mdbook)
- name: Install mdbook plugins
+1
View File
@@ -46,3 +46,4 @@ Looping reload is a known issue with the `mdbook-theme` preprocessor used for th
To check the version of mdBook installed on your system, you can use the `mdbook --version` command. This will print the version number of mdBook installed on your system in the terminal.
The latest release of the binary of the pre-compiled binaries can be found on [GitHub](https://github.com/rust-lang/mdBook/releases).