Skip to content

Add support for new dehydrated device format #680

Add support for new dehydrated device format

Add support for new dehydrated device format #680

Workflow file for this run

name: docs
on:
push:
branches: [main]
pull_request:
jobs:
docs:
name: docs
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install stable toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: nightly
- uses: Swatinem/rust-cache@v2
- name: Build docs
run: cargo doc --no-deps -Zrustdoc-map
env:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --cfg docsrs"
- name: Deploy docs
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc/
force_orphan: true