mirror of
https://github.com/block/goose.git
synced 2026-04-29 12:09:38 +00:00
docs: Test updated deploy_docs workflow (#411)
This commit is contained in:
parent
15a69fd229
commit
2c9ad73281
2 changed files with 16 additions and 1 deletions
15
.github/workflows/deploy_docs.yaml
vendored
15
.github/workflows/deploy_docs.yaml
vendored
|
|
@ -10,6 +10,15 @@ on:
|
|||
- 'mkdocs.yml'
|
||||
- '.github/workflows/deploy_docs.yaml'
|
||||
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- 'mkdocs.yml'
|
||||
- '.github/workflows/deploy_docs.yaml'
|
||||
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
@ -21,5 +30,11 @@ jobs:
|
|||
- name: Install UV
|
||||
uses: astral-sh/setup-uv@v3
|
||||
|
||||
- name: Create UV virtual environment
|
||||
run: uv venv
|
||||
|
||||
- name: Install dependencies
|
||||
run: uv pip install "mkdocs-material[imaging]" Pillow cairosvg
|
||||
|
||||
- name: Build the documentation
|
||||
run: uv run mkdocs gh-deploy --force
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue