Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Commit 1ff9ffa

Browse files
authored
Install mdbook-linkcheck plugin (#25)
1 parent 505e1c6 commit 1ff9ffa

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/pages-deployment.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,12 @@ jobs:
2020
steps:
2121
- name: Checkout
2222
uses: actions/checkout@v4
23-
- name: Install latest mdbook
23+
- name: Install latest mdbook and linkchecker
2424
run: |
2525
url="https://github.com/rust-lang/mdbook/releases/download/$MDBOOK_VERSION/mdbook-$MDBOOK_VERSION-x86_64-unknown-linux-gnu.tar.gz"
2626
mkdir mdbook
2727
curl -sSL $url | tar -xz --directory=./mdbook
28+
cargo install mdbook-linkcheck
2829
echo `pwd`/mdbook >> $GITHUB_PATH
2930
- name: Build Book
3031
run: |
@@ -36,4 +37,4 @@ jobs:
3637
with:
3738
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
3839
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
39-
command: pages deploy book --project-name=${{ secrets.CLOUDFLARE_PROJECT }} --commit-dirty=true
40+
command: pages deploy book --project-name=${{ secrets.CLOUDFLARE_PROJECT }} --commit-dirty=true

0 commit comments

Comments
 (0)