diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 614182c66..3d974108f 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -1,11 +1,10 @@ name: Deployment -on: - push: - tags: [v*] jobs: deploy: runs-on: ubuntu-latest + permissions: + id-token: write steps: - uses: actions/checkout@v3 - name: Set up Python 3.10 @@ -24,7 +23,6 @@ jobs: - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.PYPI_TOKEN }} skip-existing: true verify-metadata: true verbose: true