Skip to content

Merge pull request #343 from shunichironomura/vault-dir #50

Merge pull request #343 from shunichironomura/vault-dir

Merge pull request #343 from shunichironomura/vault-dir #50

Workflow file for this run

name: Deploy docs
on:
push:
branches:
- main
paths:
- ".github/workflows/deploy-docs.yml"
- "capsula/**"
- "docs/**"
- "scripts/gen_pages.py"
- "mkdocs.yml"
- "pyproject.toml"
- "README.md"
env:
PYTHON_VERSION: "3.12"
UV_VERSION: "0.4.9"
concurrency:
group: "deploy-docs"
cancel-in-progress: true
jobs:
deploy-docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
with:
version: ${{ env.UV_VERSION }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: ${{ env.PYTHON_VERSION }}
- name: Install the project
run: uv sync
- name: Set up Git
run: |
git config --global user.name "github-actions"
git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
git fetch --prune --unshallow
- name: Update the docs
run: uv run -- mike deploy --push dev