Skip to content

Commit

Permalink
chore: fix publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
fubuloubu authored May 9, 2024
1 parent ce7b502 commit 07028cf
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ jobs:

runs-on: ubuntu-latest

environment:
name: pypi
url: https://pypi.org/p/ape-aws

# NOTE: this permission is mandatory for trusted publishing
permissions:
contents: write

Expand All @@ -29,7 +34,4 @@ jobs:
run: python setup.py sdist bdist_wheel

- name: Publish
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: twine upload dist/* --verbose
uses: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 07028cf

Please sign in to comment.