Parcourir la source

github ci push event for pypi updated

Jérôme BUISINE il y a 3 ans
Parent
commit
6612bb6381
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 4 2
      .github/workflows/python-publish.yml

+ 4 - 2
.github/workflows/python-publish.yml

@@ -4,8 +4,10 @@
 name: pypi
 
 on:
-  release:
-    types: [created]
+  push:
+    # Sequence of patterns matched against refs/tags
+    tags:
+      - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
 
 jobs:
   deploy: