diff --git a/.github/workflows/pythonpublish.yml b/.github/workflows/pythonpublish.yml index 34bde54..9a84c9c 100644 --- a/.github/workflows/pythonpublish.yml +++ b/.github/workflows/pythonpublish.yml @@ -1,16 +1,15 @@ -name: Upload Python Package to PyPi - -on: - release: - types: [created] - jobs: deploy: runs-on: ubuntu-latest + environment: + name: pypi + url: https://pypi.org/p/pipelinewise-singer-python + permissions: + id-token: write steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@v4 with: python-version: '3.x' - name: Install dependencies