Skip to content

reelase: Version 0.2.0 #9

reelase: Version 0.2.0

reelase: Version 0.2.0 #9

Workflow file for this run

name: 'Deploy document'
on:
push:
branches:
- 'main'
workflow_dispatch:
jobs:
deploy-docs:
runs-on: ubuntu-latest
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- name: 'Configure dependencies'
run: |
uv sync --frozen --all-extras
- name: 'Build document'
run: |
task docs:build
env:
GITHUB_PAGES: 1
- name: 'Upload artifact'
uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/mini18n-dirhtml
- name: 'Deploy to GitHub Pages'
id: deployment
uses: actions/deploy-pages@v4