diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 2d104b9..74c2e22 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -19,18 +19,12 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - with: - architecture: x64 - python-version: '3.11' - - name: Install dependencies + - uses: actions/checkout@v4 + - uses: eifinger/setup-rye@v2 + - name: 'Build website' run: | - pip install pipenv - pipenv install - - name: Run build - run: pipenv run make dirhtml + rye sync --no-lock + rye run make dirhtml - name: Upload artifact uses: actions/upload-pages-artifact@v1 with: diff --git a/pyproject.toml b/pyproject.toml index de0a1b2..2d87a1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,6 +22,9 @@ dev-dependencies = [ "sphinx-autobuild>=2021.3.14", ] +[tool.rye.scripts] +make = "make" + [tool.ruff.lint] select = ["C90", "D", "E", "F", "I", "W"]