Skip to content

Rust Docs + GH workflow cleanup #6

Rust Docs + GH workflow cleanup

Rust Docs + GH workflow cleanup #6

Workflow file for this run

name: rustdoc
on:
push:
branches:
- main
pull_request:
branches:
- '*'
jobs:
rustdoc:
if: github.repository == 'aws/aws-lc-rs'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
submodules: 'recursive'
- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@nightly
id: toolchain
- uses: actions/setup-go@v4
with:
go-version: '>=1.18'
- name: Build Documentation
run: cargo +nightly doc --features fips,unstable --no-deps --workspace
- name: Deploy Docs
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: target/doc
target-folder: rustdocs/${{ github.ref_name }}