Skip to content

Merge pull request #2395 from hermit-os/dependabot/cargo/rustls-webpk… #85

Merge pull request #2395 from hermit-os/dependabot/cargo/rustls-webpk…

Merge pull request #2395 from hermit-os/dependabot/cargo/rustls-webpk… #85

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- main
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: false
env:
CARGO_TERM_COLOR: always
jobs:
deploy_docs:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: mkroening/rust-toolchain-toml@main
- run: rustup target add x86_64-unknown-none
- uses: dtolnay/install@cargo-docs-rs
- run: cargo docs-rs --package hermit-kernel --target x86_64-unknown-none
- name: Add HTML redirect to doc root
run: echo '<meta http-equiv="refresh" content="0;url=hermit">' > target/x86_64-unknown-none/doc/index.html
- uses: actions/configure-pages@v6
- uses: actions/upload-pages-artifact@v5
with:
path: target/x86_64-unknown-none/doc
- uses: actions/deploy-pages@v5
id: deployment