Skip to content

[build] Update Dockerfile to enable buiding through docker #10

[build] Update Dockerfile to enable buiding through docker

[build] Update Dockerfile to enable buiding through docker #10

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-Tutorial-Code'
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 }}