From c34c5722b093563f4410506277f0798e762ceb01 Mon Sep 17 00:00:00 2001 From: Michael Catanzaro Date: Wed, 28 Feb 2024 14:10:04 -0500 Subject: [PATCH] Add pypi push only on tags with 'v' on master --- .github/workflows/build_and_deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_and_deploy.yml b/.github/workflows/build_and_deploy.yml index 5697cc0..99a2991 100644 --- a/.github/workflows/build_and_deploy.yml +++ b/.github/workflows/build_and_deploy.yml @@ -43,7 +43,7 @@ jobs: environment: pypi permissions: id-token: write - # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') + if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v4 with: