From e9ad0d4148a20904acd01f084eaa63584037c9cb Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 24 Oct 2024 18:38:35 -0500 Subject: [PATCH] ci: add new docs ci --- .github/workflows/docs.yml | 8 +++++--- pyproject.toml | 1 - 2 files changed, 5 insertions(+), 4 deletions(-) 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"