diff --git a/.github/workflows/docs-deploy.yml b/.github/workflows/docs-deploy.yml index 3dada83..7dc52a6 100644 --- a/.github/workflows/docs-deploy.yml +++ b/.github/workflows/docs-deploy.yml @@ -9,17 +9,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: Set up Python - uses: actions/setup-python@v4 - - - name: Install requirements - run: pip install -U pip wheel hatch - - - name: Build documentation - run: hatch run docs - - - name: Upload to gh-pages - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./build/docs/ + - uses: actions/setup-python@v4 + - run: pip install -U pip wheel hatch + - run: hatch run docs diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 77f9117..7c84b88 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,20 +27,5 @@ jobs: echo SETUPTOOLS_SCM_PRETEND_VERSION=$version >> $GITHUB_ENV echo version $version - - name: Install requirements - run: pip install -U pip wheel hatch - + - run: pip install -U pip wheel hatch - run: hatch build - - - name: Publish to Test PyPI - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.TEST_PYPI_API_TOKEN }} - repository_url: https://test.pypi.org/legacy/ - skip_existing: true - - - name: Publish to PyPI - if: github.event_name == 'release' - uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }} diff --git a/pyproject.toml b/pyproject.toml index 2dddb59..bc90b76 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -47,7 +47,7 @@ dev = [ docs = [ "furo==2022.4.7", "myst-parser==0.17.2", - "Sphinx==4.5", + "Sphinx==5.3.0", "sphinx-copybutton==0.5", ] fsspec = [