Skip to content

Bump clap from 4.3.10 to 4.4.5 #127

Bump clap from 4.3.10 to 4.4.5

Bump clap from 4.3.10 to 4.4.5 #127

Workflow file for this run

name: Docs
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: styfle/[email protected]
name: Cancel Outdated Builds
with:
all_but_latest: true
access_token: ${{ github.token }}
- uses: actions/checkout@v3
name: Checkout Repository
- uses: Swatinem/rust-cache@v2
name: Enable Rust Caching
with:
cache-on-failure: true
- name: Install Nix
uses: cachix/install-nix-action@v21
- name: Generate Documentation
run: |
nix develop -c cargo doc --workspace --no-deps --lib --release
echo '<meta http-equiv="refresh" content="0; url=server">' > target/doc/index.html
- name: Deploy Documentation
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc