Skip to content

Commit d8ba58b

Browse files
Update release.yaml
1 parent 34052fd commit d8ba58b

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/release.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
name: Release
22

33
on:
4-
deploy:
5-
# this will run when you have tagged a commit, starting with "v*"
6-
# and requires that you have put your twine API key in your
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
release:
9+
# requires that you have put your twine API key in your
710
# github secrets (see readme for details)
8-
needs: [test]
911
runs-on: ubuntu-latest
1012
if: contains(github.ref, 'tags')
1113
steps:

0 commit comments

Comments
 (0)