Skip to content

Commit e36afe0

Browse files
committed
use rust image, not peaceiris, as need mdbook-katex
1 parent 283c10a commit e36afe0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/mdbook.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ jobs:
1010
deploy-book:
1111
runs-on: ubuntu-latest
1212
container:
13-
image: peaceiris/mdbook:latest
13+
image: rust:latest
1414
steps:
1515
- name: Checkout
1616
uses: actions/checkout@v4
1717

18-
# Avoid building the entire Rust toolchain, use peaceiris image instead.
18+
# Avoid building the entire Rust toolchain, use Rust image instead.
1919
# - name: Setup Rust toolchain
2020
# uses: actions-rs/toolchain@v1
2121
# with:
2222
# toolchain: stable
2323

2424
- name: Install mdBook and preprocessors
2525
run: |
26-
cargo install mdbook-katex
26+
cargo install mdbook mdbook-katex
2727
2828
- name: Build mdBook
2929
run: mdbook build documentation/mdbook

0 commit comments

Comments
 (0)