Skip to content

Bump serde from 1.0.166 to 1.0.183 #107

Bump serde from 1.0.166 to 1.0.183

Bump serde from 1.0.166 to 1.0.183 #107

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