Skip to content

chore: release v0.3.0-beta.4 #96

chore: release v0.3.0-beta.4

chore: release v0.3.0-beta.4 #96

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-20.04
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