Skip to content

Commit ced8a62

Browse files
authored
Update deploy.yml
1 parent 3bd1eed commit ced8a62

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,12 @@ jobs:
99
build:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v2
13-
12+
- uses: actions/checkout@v6
13+
- uses: cargo-bins/cargo-binstall@main
1414
- name: Install mdbook
15-
run: |
16-
set -exo pipefail
17-
curl -L https://github.com/alsuren/cargo-quickinstall/releases/download/mdbook-0.4.15-x86_64-unknown-linux-gnu/mdbook-0.4.15-x86_64-unknown-linux-gnu.tar.gz | tar -xzf - -C ~/.cargo/bin
18-
curl -L https://github.com/alsuren/cargo-quickinstall/releases/download/mdbook-linkcheck-0.7.6-x86_64-unknown-linux-gnu/mdbook-linkcheck-0.7.6-x86_64-unknown-linux-gnu.tar.gz | tar -xzf - -C ~/.cargo/bin
19-
15+
run: cargo binstall -y mdbook mdbook-linkcheck
16+
env:
17+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2018
- run: mdbook build
2119
- uses: Cecilapp/GitHub-Pages-deploy@v3
2220
env:

0 commit comments

Comments
 (0)