Skip to content

Resolved Copyright Infringment #2

Resolved Copyright Infringment

Resolved Copyright Infringment #2

Workflow file for this run

name: Documentation
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@stable
- name: Cache dependencies
uses: Swatinem/rust-cache@v2
- name: Build documentation
run: cargo doc --no-deps --document-private-items
- name: Deploy documentation
if: github.ref == 'refs/heads/main'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc