fix(doc): Build nightly docs with correct features

This commit is contained in:
Kévin Commaille
2022-02-13 10:22:05 +01:00
parent 4b5aae1123
commit 0570cd9439

View File

@@ -35,10 +35,10 @@ jobs:
- name: Build docs
uses: actions-rs/cargo@v1
env:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options"
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --cfg docsrs"
with:
command: doc
args: --no-deps --workspace --features docs -Zrustdoc-map
args: --no-deps --workspace --features docsrs -Zrustdoc-map
- name: Deploy docs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}