Skip to content

Commit

Permalink
Merge pull request #45 from ami-iit/switchtotp
Browse files Browse the repository at this point in the history
Update CI/CD workflow to interface with PyPI as Trusted Publisher
  • Loading branch information
diegoferigo authored Nov 8, 2024
2 parents 464ef62 + d111da5 commit e2ba6ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ jobs:
name: Publish to PyPI
needs: test
runs-on: ubuntu-latest
permissions:
id-token: write

steps:

Expand All @@ -184,6 +186,4 @@ jobs:
(github.event_name == 'release' && github.event.action == 'published'))
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_TOKEN }}
skip_existing: true

0 comments on commit e2ba6ab

Please sign in to comment.