diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index dd0f337..06fa0ad 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -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 diff --git a/pyproject.toml b/pyproject.toml index 7aa4ec6..217ee8e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,6 @@ warn_unused_configs = true source = "file" path = "src/swydd/__init__.py" - [build-system] requires = ["pdm-backend"] build-backend = "pdm.backend"