summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornicolargo <nicolas@nicolargo.com>2021-04-20 11:00:32 +0200
committernicolargo <nicolas@nicolargo.com>2021-04-20 11:00:32 +0200
commit6f50664eafa866fc32616459f96442c1558bc7ed (patch)
tree28d1608fe023f83edd31513cbe2d0cbdcfd0c993
parent834b2412cfec350b91a571133bc61c82ca25fefa (diff)
Correct Pypi CI pipeline
-rw-r--r--.github/workflows/main.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 47a3f4b4..1eddcf3d 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -108,7 +108,7 @@ jobs:
- name: Publish distribution package to Test PyPI
uses: pypa/gh-action-pypi-publish@master
with:
- user: ${{ secrets.PYPI_USERNAME }}
+ user: __token__
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
@@ -116,5 +116,5 @@ jobs:
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@master
with:
- user: ${{ secrets.PYPI_USERNAME }}
+ user: __token__
password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file