From 062a745fc9ab3febb186de573b86b5eaa064bf28 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Sun, 25 Jun 2023 10:21:09 -0400 Subject: [PATCH] Update examples/github-deploy.yml Co-authored-by: Joe Rickerby --- examples/github-deploy.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index fdb19c08..627281ba 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -48,6 +48,8 @@ jobs: permissions: id-token: write if: github.event_name == 'release' && github.event.action == 'published' + # or, alternatively, upload to PyPI on every tag starting with 'v' (remove on: release above to use this) + # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') steps: - uses: actions/download-artifact@v3 with: