FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Publish to pypi on github release published (#287) · python-kasa/python-kasa@255c0c9 · GitHub

Repository navigation

Commit 255c0c9

Browse files
authored
Publish to pypi on github release published (#287)
* Publish to pypi on github release published, remove testpypi * Remove release tag check
1 parent 6ece506 commit 255c0c9

1 file changed

Lines changed: 2 additions & 11 deletions

File tree

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
name: Publish packages
22
on:
3-
push:
4-
branches:
5-
- master
3+
release:
4+
types: [published]
65

76
jobs:
87
build-n-publish:
@@ -30,15 +29,7 @@ jobs:
3029
--wheel
3130
--outdir dist/
3231
.
33-
- name: Publish on test pypi
34-
uses: pypa/gh-action-pypi-publish@master
35-
continue-on-error: true
36-
with:
37-
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
38-
repository_url: https://test.pypi.org/legacy/
39-
4032
- name: Publish release on pypi
41-
if: startsWith(github.ref, 'refs/tags')
4233
uses: pypa/gh-action-pypi-publish@master
4334
with:
4435
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL