diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6641ad32c7b..f94672cff05 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -168,11 +168,12 @@ jobs: - uses: Swatinem/rust-cache@v2 with: cache-on-failure: true - - run: cargo doc --workspace --all-features --no-deps --document-private-items + - name: Build documentation + run: cargo doc --workspace --all-features --no-deps --document-private-items env: - RUSTDOCFLAGS: - --cfg docsrs -D warnings --show-type-layout --generate-link-to-definition - --enable-index-page -Zunstable-options + RUSTDOCFLAGS: --cfg docsrs -D warnings --show-type-layout --generate-link-to-definition -Zunstable-options + - name: Doc index page redirection + run: echo '' > target/doc/index.html - name: Deploy documentation uses: peaceiris/actions-gh-pages@v3 if: github.event_name == 'push' && github.ref == 'refs/heads/main'