Skip to content

Update actions/checkout digest to eef6144 #50

Update actions/checkout digest to eef6144

Update actions/checkout digest to eef6144 #50

Workflow file for this run

on:
push:
branches:
- main
name: Docs
jobs:
docs:
name: Build and deploy documentation
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2
- name: Build rustdoc
env:
RUSTC_BOOTSTRAP: 1 # for feature(doc_cfg)
RUSTDOCFLAGS: -Dwarnings --cfg doc_cfg
run: cargo doc --all-features --workspace --exclude integration-tests
- name: Organize
run: |
rm -rf target/gh-pages
mkdir target/gh-pages
mv target/doc target/gh-pages/rustdoc
touch target/gh-pages/.nojekyll
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
branch: gh-pages
folder: target/gh-pages
single-commit: true