Skip to content

Release 0.2.0: bump version, update changelog, add release workflow (… #7

Release 0.2.0: bump version, update changelog, add release workflow (…

Release 0.2.0: bump version, update changelog, add release workflow (… #7

Workflow file for this run

name: Docs
on:
push:
branches: [main]
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: pages
cancel-in-progress: false
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
lfs: true
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- run: cargo doc --no-deps
- name: Add redirect index.html
run: echo '<meta http-equiv="refresh" content="0; url=aicheck/index.html">' > target/doc/index.html
- uses: actions/upload-pages-artifact@v3
with:
path: target/doc
deploy:
needs: build
runs-on: ubuntu-latest
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- id: deployment
uses: actions/deploy-pages@v4