Skip to content

[Fix]: Fixed an issue in release.yml where check and test were reused… #2

[Fix]: Fixed an issue in release.yml where check and test were reused…

[Fix]: Fixed an issue in release.yml where check and test were reused… #2

Workflow file for this run

name: Deploy Docs
on:
push:
branches: [ no_std ]
permissions:
contents: write
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
- name: Build Documentation
run: cargo doc --no-deps --all-features
- name: Create index.html
run: echo '<meta http-equiv="refresh" content="0;url=range_alloc_arceos/index.html">' > target/doc/index.html
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc