Skip to content

chore(master): release 0.1.0 #107

chore(master): release 0.1.0

chore(master): release 0.1.0 #107

Workflow file for this run

name: GitHub Pages
on:
pull_request:
branches:
- master
- main
push:
branches:
- master
- main
workflow_dispatch:
permissions: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: GitHub Pages
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Setup mise
uses: jdx/mise-action@3c2e0cf82a5b2e5249f0d3635a4d83d0ae861518 # v4.2.5
with:
version: 2026.6.14
cache: true
- name: Resolve uv cache directory
id: uv-cache
run: echo "dir=$(uv cache dir)" >> "$GITHUB_OUTPUT"
- name: Cache uv downloads
uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
with:
path: ${{ steps.uv-cache.outputs.dir }}
key: ${{ runner.os }}-uv-docs-${{ hashFiles('docs/uv.lock') }}
restore-keys: |
${{ runner.os }}-uv-docs-
- name: Build docs
run: moon run docs:build --summary minimal
- name: Configure Pages
if: ${{ github.event_name != 'pull_request' }}
uses: actions/configure-pages@45bfe0192ca1faeb007ade9deae92b16b8254a0d # v6.0.0
- name: Upload Pages artifact
if: ${{ github.event_name != 'pull_request' }}
uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0
with:
path: docs/build
deploy:
name: Deploy GitHub Pages
if: ${{ github.event_name != 'pull_request' }}
needs:
- build
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@cd2ce8fcbc39b97be8ca5fce6e763baed58fa128 # v5.0.0