mirror of https://github.com/nicolargo/glances.git
Remove token from Github action
This commit is contained in:
parent
e02d95083b
commit
73fd34e588
|
|
@ -64,8 +64,10 @@ jobs:
|
||||||
- name: Publish distribution package to Test PyPI
|
- name: Publish distribution package to Test PyPI
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
user: __token__
|
# user and password should be removed
|
||||||
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
# because Github action is a trusted publiser
|
||||||
|
# user: __token__
|
||||||
|
# password: ${{ secrets.TEST_PYPI_API_TOKEN }}
|
||||||
repository-url: https://test.pypi.org/legacy/
|
repository-url: https://test.pypi.org/legacy/
|
||||||
skip-existing: true
|
skip-existing: true
|
||||||
|
|
||||||
|
|
@ -73,8 +75,10 @@ jobs:
|
||||||
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
|
||||||
uses: pypa/gh-action-pypi-publish@release/v1
|
uses: pypa/gh-action-pypi-publish@release/v1
|
||||||
with:
|
with:
|
||||||
|
# user and password should be removed (if it is ok on test.pypi)
|
||||||
user: __token__
|
user: __token__
|
||||||
password: ${{ secrets.PYPI_API_TOKEN }}
|
password: ${{ secrets.PYPI_API_TOKEN }}
|
||||||
|
skip-existing: true
|
||||||
|
|
||||||
create_Docker_builds:
|
create_Docker_builds:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue