Skip to content

Update

Update #5

Workflow file for this run

name: Jobs
on: [push]
env:
CARGO_TERM_COLOR: always
rust_toolchain: nightly
jobs:
build-doc:
if: github.repository == 'LearningOS/rCore-Camp-Code-2024A'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Build doc
run: |
cd os
make
cargo doc --no-deps --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 }}