Skip to content

chore(deps): bump the actions group with 11 updates (#84) #283

chore(deps): bump the actions group with 11 updates (#84)

chore(deps): bump the actions group with 11 updates (#84) #283

Workflow file for this run

name: Documentation
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
permissions:
contents: read
pages: write
id-token: write
jobs:
docs:
name: Build Documentation
runs-on: ubuntu-latest
environment: ${{ github.ref == 'refs/heads/main' && 'github-pages' || null }}
steps:
- uses: actions/checkout@v6
with:
submodules: recursive
- name: Install Rust
uses: dtolnay/rust-toolchain@stable
with:
targets: wasm32-unknown-unknown
- name: Cache dependencies
uses: actions/cache@v5
with:
path: |
~/.cargo/registry
~/.cargo/git
target
key: ${{ runner.os }}-docs-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Build documentation
run: make doc
- name: Setup Pages
if: github.ref == 'refs/heads/main'
uses: actions/configure-pages@v6
- name: Upload artifact
if: github.ref == 'refs/heads/main'
uses: actions/upload-pages-artifact@v5
with:
path: ./target/doc-final
- name: Deploy to GitHub Pages
if: github.ref == 'refs/heads/main'
id: deployment
uses: actions/deploy-pages@v5