diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index f9e55ab..d8fbac8 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -10,12 +10,20 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - + - uses: actions-rs/install@v0.1 + with: + crate: mdbook + use-tool-cache: true + - uses: actions-rs/install@v0.1 + with: + crate: mdbook-toc + use-tool-cache: true + - uses: actions-rs/install@v0.1 + with: + crate: mdbook-open-on-gh + use-tool-cache: true - name: Build book run: | - curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git rust-lang/mdBook - curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git badboy/mdbook-toc - curl -LSfs https://japaric.github.io/trust/install.sh | sh -s -- --git badboy/mdbook-open-on-gh PATH=.cargo/bin:$PATH mdbook build - name: Deploy