Skip to content

Commit ea065df

Browse files
committed
Rename publish workflow and run only on tags.
This should tidy up the "checks" tab in merge requests.
1 parent 7aeb6ac commit ea065df

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/publish.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
name: Publish to TestPyPI
1+
name: Publish to PyPI
22

3-
on: push
4-
5-
#on:
6-
# release:
7-
# types: [published]
3+
on:
4+
push:
5+
# Only try to publish if it's tagged
6+
tags:
7+
- v**
8+
- testpypi-v**
89

910
jobs:
1011
build:

0 commit comments

Comments
 (0)