Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaseibert authored Jun 4, 2024
1 parent 0678978 commit 3e609a8
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@

name: Upload QualtricsAPI to PyPi

on: push
on:
release:
types: [created]

jobs:
deploy:

runs-on: ubuntu-latest

steps:
Expand All @@ -21,8 +22,9 @@ jobs:
pip install setuptools wheel twine
- name: Build and publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
TWINE_USERNAME: __token__
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
run: |
python setup.py sdist bdist_wheel
twine upload dist/* --verbose

0 comments on commit 3e609a8

Please sign in to comment.