From 2ada410a9f38af0e382d1e6b0b9b771ca01581cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Saugat=20Pachhai=20=28=E0=A4=B8=E0=A5=8C=E0=A4=97=E0=A4=BE?= =?UTF-8?q?=E0=A4=A4=29?= Date: Tue, 25 Oct 2022 16:48:33 +0545 Subject: [PATCH 1/2] refactor --- .github/workflows/docs-deploy.yml | 17 +++-------------- .github/workflows/release.yml | 17 +---------------- 2 files changed, 4 insertions(+), 30 deletions(-) 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 }} From 30e95a85b173925a06d96bec77d64a775af17bec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 25 Oct 2022 11:04:44 +0000 Subject: [PATCH 2/2] Bump sphinx from 4.5 to 5.3.0 Bumps [sphinx](https://github.com/sphinx-doc/sphinx) from 4.5 to 5.3.0. - [Release notes](https://github.com/sphinx-doc/sphinx/releases) - [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES) - [Commits](https://github.com/sphinx-doc/sphinx/compare/v4.5.0...v5.3.0) --- updated-dependencies: - dependency-name: sphinx dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [