Skip to content

Bump peaceiris/actions-gh-pages from 3 to 4 (#97) #28

Bump peaceiris/actions-gh-pages from 3 to 4 (#97)

Bump peaceiris/actions-gh-pages from 3 to 4 (#97) #28

Workflow file for this run

name: Documentation
on:
push:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
CARGO_NET_RETRY: 10
RUSTFLAGS: "-D warnings"
RUSTUP_MAX_RETRIES: 10
RUST_BACKTRACE: 1
jobs:
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- run: sudo apt-get install -y libhwloc-dev libudev-dev
- name: Generate Rust Docs
run: cargo doc --all --no-deps
- run: sudo ./docs/build.sh
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc
force_orphan: true