dev-notes/.github/workflows/docs.yml
dependabot[bot] cb8ff2a323
Github Actions(deps): Bump astral-sh/setup-uv from 1 to 2 (#57)
Bumps [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) from 1 to 2.
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](https://github.com/astral-sh/setup-uv/compare/v1...v2)

---
updated-dependencies:
- dependency-name: astral-sh/setup-uv
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-10 16:35:27 +00:00

30 lines
626 B
YAML

name: Deploy to Github Pages
on:
push:
branches: [ "main" ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v2
with:
version: "latest"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Setup Python
uses: actions/setup-python@v5.0.0
with:
python-version: '3.x'
- name: Install Dependencies
run: uv sync
- name: Deploy GH Pages
run: uv run mkdocs gh-deploy --force