Skip to content

Auth/PM-40520 - Registration - Open Org Invite Seal / Unseal Support … #969

Auth/PM-40520 - Registration - Open Org Invite Seal / Unseal Support …

Auth/PM-40520 - Registration - Open Org Invite Seal / Unseal Support … #969

Workflow file for this run

name: Rustdoc
on:
push:
branches: ["main"]
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
rustdoc:
name: Rustdoc
runs-on: ubuntu-24.04
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Set Rust Nightly Toolchain
id: nightly-toolchain
shell: bash
run: |
RUST_NIGHTLY_TOOLCHAIN="$(grep -oP '^nightly-channel.*"(\K.*?)(?=")' rust-toolchain.toml)"
echo "RUST_NIGHTLY_TOOLCHAIN=${RUST_NIGHTLY_TOOLCHAIN}" | tee -a "${GITHUB_OUTPUT}"
- name: Install rust
uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
with:
toolchain: "${{ steps.nightly-toolchain.outputs.RUST_NIGHTLY_TOOLCHAIN }}"
- name: Build documentation
env:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options"
_RUST_NIGHTLY_TOOLCHAIN: "${{ steps.nightly-toolchain.outputs.RUST_NIGHTLY_TOOLCHAIN }}"
run: cargo +"${_RUST_NIGHTLY_TOOLCHAIN}" doc --no-deps --all-features --document-private-items
- name: Deploy to GitHub Pages
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: ./target/doc
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
permissions:
pages: write
id-token: write
needs: rustdoc
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0