Bump clap from 4.3.10 to 4.4.5 #127
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |