ci: add new docs ci

This commit is contained in:
Daylin Morgan 2024-10-24 18:38:35 -05:00
parent 3a85840a4d
commit e9ad0d4148
Signed by: daylin
GPG key ID: 950D13E9719334AD
2 changed files with 5 additions and 4 deletions

View file

@ -14,13 +14,16 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v3
- name: build docs
run: ./tasks.py docs
run: ./tasks.py build-docs
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./docs
path: ./docs/build
deploy:
runs-on: ubuntu-latest
@ -34,7 +37,6 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Deploy to GitHub Pages
id: deployment

View file

@ -35,7 +35,6 @@ warn_unused_configs = true
source = "file"
path = "src/swydd/__init__.py"
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"