Skip to content

Use official Homebrew actions (#96) #93

Use official Homebrew actions (#96)

Use official Homebrew actions (#96) #93

Workflow file for this run

name: document
on:
push:
branches:
- main
pull_request:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Homebrew/actions/setup-homebrew@master
- run: tools/setup.sh
- run: cargo doc
- uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: target/doc