Skip to content

Commit

Permalink
Update thumbtack_workflow.yml
Browse files Browse the repository at this point in the history
Update workflow file to work with pypi trusted publisher
  • Loading branch information
agibbons27 authored Jun 25, 2024
1 parent 4c0d37e commit 86a53b3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/thumbtack_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,8 @@ jobs:
- name: Build wheel
run: sudo pip install wheel && sudo python setup.py sdist bdist_wheel
- name: Push to PyPI
if: startsWith(github.ref, 'refs/tags')
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: ${{ secrets.PYPI_USERNAME }}
password: ${{ secrets.PYPI_TOKEN_THUMBTACK }}
docker-image:
needs: deploy
runs-on: ubuntu-20.04
Expand Down

0 comments on commit 86a53b3

Please sign in to comment.