From 0c062426465f05496c74f64b3a8661a98f26bebc Mon Sep 17 00:00:00 2001 From: Mario Hernandez Date: Mon, 8 May 2023 06:08:05 -0400 Subject: [PATCH] publish on release --- .github/workflows/publish.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index fb1458e..6ffcdd3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,10 +4,8 @@ name: Publish to PypI on: - push: - branches: [ "main" ] - pull_request: - branches: [ "main" ] + release: + types: [published] jobs: pypi-publish: