diff --git a/.github/workflows/mdbook.yml b/.github/workflows/mdbook.yml index 17798981..b5de1d98 100644 --- a/.github/workflows/mdbook.yml +++ b/.github/workflows/mdbook.yml @@ -35,17 +35,16 @@ jobs: env: MDBOOK_VERSION: 0.4.36 steps: - - uses: actions/checkout@v4 - - name: Install mdBook - run: | - curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf -y | sh - rustup update - cargo install --version ${MDBOOK_VERSION} mdbook + - uses: peaceiris/actions-mdbook@v1 + with: + mdbook-version: "latest" - name: Setup Pages id: pages uses: actions/configure-pages@v4 + - name: Build with mdBook run: mdbook build docs + - name: Upload artifact uses: actions/upload-pages-artifact@v3 with: