Skip to content

Commit 1df1d17

Browse files
committed
update deploy.yml with cargo
1 parent 8ea3f84 commit 1df1d17

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/deploy.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,13 @@ jobs:
2121
- name: Checkout
2222
uses: actions/checkout@v4
2323

24-
# Install mdBook
24+
# Install Rust
25+
- name: Install Rust
26+
uses: dtolnay/rust-toolchain@stable
27+
28+
# Install mdBook via cargo
2529
- name: Install mdBook
26-
run: |
27-
curl -Ls https://github.com/rust-lang/mdBook/releases/latest/download/mdbook-x86_64-unknown-linux-gnu.tar.gz | tar xz
28-
sudo mv mdbook /usr/local/bin/mdbook
29-
mdbook --version
30+
run: cargo install mdbook
3031

3132
- name: Configure Pages
3233
id: pages

0 commit comments

Comments
 (0)