From a5fcd4058bea4571a63904b9d7b7f20f7f7814a4 Mon Sep 17 00:00:00 2001 From: Mikhail Dzianishchyts Date: Tue, 1 Oct 2024 19:15:20 +0300 Subject: [PATCH] Deploy to PyPI on tag push --- .github/workflows/deploy-pypi.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/deploy-pypi.yml b/.github/workflows/deploy-pypi.yml index 218e51b..9d8c7d6 100644 --- a/.github/workflows/deploy-pypi.yml +++ b/.github/workflows/deploy-pypi.yml @@ -1,7 +1,9 @@ -name: Deploy to PyPI +name: 'deploy to PyPI' on: - workflow_dispatch: + push: + tags: + - '[0-9]+.[0-9]+*' jobs: deploy: