Skip to content

Commit

Permalink
Upload to PyPi with API token
Browse files Browse the repository at this point in the history
Signed-off-by: Chad Wilson <[email protected]>
  • Loading branch information
chadlwilson committed Feb 10, 2024
1 parent 9f4caf1 commit da5d27b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,14 @@ jobs:

- name: Deploy to pypi
env:
PYPI_USER: ${{ secrets.PYPI_USER }}
GAUGE_PACKAGE_NAME: getgauge-cli
PYPI_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
run: |
cd build/pip
pip install -r requirements.txt
python build.py --dist
gauge_package=`ls dist/$GAUGE_PACKAGE_NAME-$GAUGE_VERSION.tar.gz`
python -m twine upload -u $PYPI_USER -p $PYPI_PASSWORD $gauge_package
python -m twine upload --non-interactive $gauge_package
npm-release:
runs-on: ubuntu-latest
Expand Down

0 comments on commit da5d27b

Please sign in to comment.