Skip to content

docs: cut the changelog for 2.0.0-rc.16 #108

docs: cut the changelog for 2.0.0-rc.16

docs: cut the changelog for 2.0.0-rc.16 #108

Workflow file for this run

name: Documentation
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: true
jobs:
build:
name: Build Documentation
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Install Rust toolchain
uses: dtolnay/rust-toolchain@nightly
with:
components: rust-docs
- name: Build documentation
run: cargo doc --no-deps --all-features
env:
RUSTDOCFLAGS: "--enable-index-page -Zunstable-options"
- name: Add redirect
run: echo '<meta http-equiv="refresh" content="0; url=birdnet_onnx/">' > target/doc/index.html
- name: Upload artifact
uses: actions/upload-pages-artifact@v5
with:
path: target/doc
deploy:
name: Deploy to GitHub Pages
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v5