Skip to content

Commit

Permalink
Correct PyPi upload
Browse files Browse the repository at this point in the history
Only API tokens are now supported.
  • Loading branch information
chadlwilson committed Feb 10, 2024
1 parent d5e63c2 commit 10b5862
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release_on_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: '${{ secrets.GAUGEBOT_GITHUB_TOKEN }}'
PYPI_USER: '${{ secrets.PYPI_USER }}'
PYPI_PASSWORD: '${{ secrets.PYPI_PASSWORD }}'
CI: true

steps:
Expand Down Expand Up @@ -66,8 +64,10 @@ jobs:
token: '${{ secrets.GITHUB_TOKEN }}'

- name: Upload PyPi package
env:
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
python -m twine upload -u ${PYPI_USER} -p ${PYPI_PASSWORD} dist/getgauge*
python -m twine upload --non-interactive dist/getgauge*
- name: Update metadata in gauge-repository
Expand Down

0 comments on commit 10b5862

Please sign in to comment.