Skip to content

chore: release v0.3.0 #111

chore: release v0.3.0

chore: release v0.3.0 #111

Workflow file for this run

name: GitHub Pages
on:
push:
paths:
- ".github/workflows/gh-pages.yml"
- "docs/src/**"
- "docs/theme/**"
- "docs/book.toml"
workflow_dispatch:
defaults:
run:
working-directory: docs
env:
CARGO_TERM_COLOR: always
jobs:
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: peaceiris/actions-mdbook@v1
with:
mdbook-version: latest
- run: mdbook build
- uses: peaceiris/actions-gh-pages@v3
with:
cname: hatsu.cli.rs
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/book