update CI for build-doc

ch1-qemu-exit
Yu Chen 3 years ago
parent 371e614fb1
commit 3e4f99b4a7

@ -12,6 +12,10 @@ jobs:
- uses: actions/checkout@v2
- name: Build doc
run: |
rustup target add riscv64gc-unknown-none-elf
cargo install cargo-binutils --vers =0.3.3
rustup component add llvm-tools-preview
rustup component add rust-src
cd os
cargo doc --no-deps --verbose
- name: Deploy to Github Pages
@ -19,4 +23,4 @@ jobs:
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…
Cancel
Save