Skip to content

BRE-403 - Update CI Secret Name (#1169) #114

BRE-403 - Update CI Secret Name (#1169)

BRE-403 - Update CI Secret Name (#1169) #114

Workflow file for this run

name: Rustdoc
on:
push:
branches: ["main"]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
rustdoc:
name: Rustdoc
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Install rust
uses: dtolnay/rust-toolchain@7b1c307e0dcbda6122208f10795a713336a9b35a # stable
with:
toolchain: nightly
- name: Build documentation
env:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options"
run: cargo +nightly doc --no-deps --all-features --document-private-items
- name: Deploy to GitHub Pages
uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3.0.1
with:
path: ./target/doc
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: rustdoc
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e # v4.0.5