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

View file

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