fix build doc
Able to show different crates
This commit is contained in:
parent
f9346edad1
commit
cb50e377b2
1 changed files with 3 additions and 3 deletions
6
.github/workflows/build-doc.yml
vendored
6
.github/workflows/build-doc.yml
vendored
|
@ -16,10 +16,10 @@ jobs:
|
|||
rustup component add llvm-tools-preview
|
||||
rustup component add rust-src
|
||||
cd os
|
||||
cargo doc --no-deps --verbose
|
||||
- name: Deploy to Github Pages
|
||||
cargo doc --document-private-items --verbose
|
||||
- name: Push to gh-pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_dir: ./os/target/riscv64gc-unknown-none-elf/doc
|
||||
destination_dir: ${{ github.ref_name }}
|
||||
destination_dir: ${{ github.ref_name }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue