Skip to content

chore: update Main repo yml #2

chore: update Main repo yml

chore: update Main repo yml #2

Workflow file for this run

name: docs CI
on:
workflow_dispatch:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@nightly
- name: add target
run: rustup target add riscv64gc-unknown-none-elf
- name: generate doc
run: cargo doc --no-deps --all-features --target riscv64gc-unknown-none-elf
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@v4
with:
single-commit: true
branch: gh-pages
folder: target/riscv64gc-unknown-none-elf/doc