Skip to content

Merge ch1 to ch2: [scripts] Add batch merge script #32

Merge ch1 to ch2: [scripts] Add batch merge script

Merge ch1 to ch2: [scripts] Add batch merge script #32

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: |
git clone https://github.com/LearningOS/rCore-Tutorial-Test.git user
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 }}