Skip to content

Commit 7ee44e4

Browse files
committed
Correct error in python-publish.yaml
1 parent 7666999 commit 7ee44e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/python-publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ permissions:
1818

1919
jobs:
2020
deploy:
21+
if: "success() && startsWith(github.ref, 'refs/tags/')"
2122
runs-on: ubuntu-latest
2223

2324
steps:
@@ -39,5 +40,4 @@ jobs:
3940
uses: pypa/gh-action-pypi-publish@v1.8.3
4041
with:
4142
user: __token__
42-
password: ${{ secrets.TEST_PYPI_TOKEN }}
43-
repository-url: https://test.pypi.org/legacy/
43+
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)