Skip to content

Deploy Documentation #1

Deploy Documentation

Deploy Documentation #1

Workflow file for this run

name: Deploy Documentation
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
deploy: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: Swatinem/rust-cache@v2
- run: make install
- run: make build
- uses: peaceiris/actions-gh-pages@v3
if: github.event_name != 'pull_request'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book
publish_branch: asf-site