Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaker authored Oct 29, 2024
1 parent ebe9b56 commit 06614e9
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,21 +28,13 @@ jobs:
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
components: rustfmt, rust-src
- name: Checkout
uses: actions/checkout@v3
- name: Build Documentation
uses: actions-rs/cargo@v1
with:
command: doc
args: --all-features --enable-index-page
- name: Setup Pages
- name: git clone
uses: actions/checkout@v4
- name: install toolchain
uses: dtolnay/rust-toolchain@stable
- name: cargo doc
run: RUSTDOCFLAGS="-Z unstable-options --enable-index-page" cargo doc --all-features
- name: page configuration
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
Expand Down

0 comments on commit 06614e9

Please sign in to comment.