Skip to content

feat: add archive info for formal snapshots (#4901) #149

feat: add archive info for formal snapshots (#4901)

feat: add archive info for formal snapshots (#4901) #149

Workflow file for this run

name: Crate Docs
on:
push:
branches:
- develop
paths:
- "**.rs"
- "Cargo.toml"
- "Cargo.lock"
workflow_dispatch:
jobs:
docs:
name: Generate crate documentation
runs-on: self-hosted
steps:
- name: Checkout sources
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
- name: Generate documentation
uses: actions-rs/cargo@ae10961054e4aa8b4aa7dffede299aaf087aa33b # v1.0.1
with:
command: doc
args: --workspace --exclude "iota-benchmark" --no-deps
- name: Deploy documentation
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847 # v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./target/doc
force_orphan: true