From 1d7fc386be8367b07aa877a84a0f71974ed6475c Mon Sep 17 00:00:00 2001 From: pszafer Date: Mon, 8 Jan 2024 07:40:27 +0100 Subject: [PATCH] don't run action on push --- .github/workflows/publish-to-pypi.yaml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/publish-to-pypi.yaml b/.github/workflows/publish-to-pypi.yaml index 4fc341d..f31f0f4 100644 --- a/.github/workflows/publish-to-pypi.yaml +++ b/.github/workflows/publish-to-pypi.yaml @@ -4,8 +4,6 @@ on: push: tags: - v* - branches: - - 'dev' paths: - '**.py' pull_request: @@ -38,4 +36,4 @@ jobs: if: startsWith(github.ref, 'refs/tags') || startsWith(github.event.inputs.tags, 'Deploy') run: | pdm plugin add pdm-publish - pdm publish -v --password ${{ secrets.PYPI_API_TOKEN }} + pdm publish --password ${{ secrets.PYPI_API_TOKEN }}