diff --git a/.github/workflows/python-publish.yaml b/.github/workflows/python-publish.yaml index e60b214..dbaedd4 100644 --- a/.github/workflows/python-publish.yaml +++ b/.github/workflows/python-publish.yaml @@ -19,11 +19,7 @@ jobs: deploy: runs-on: ubuntu-latest - environment: - name: pypi - url: https://pypi.org/p/mongospecs - permissions: - id-token: write + steps: - uses: actions/checkout@v3 - name: Set up Python @@ -37,4 +33,7 @@ jobs: - name: Build package run: python -m build - name: Publish package - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29 + with: + user: __token__ + password: ${{ secrets.PYPI_API_TOKEN }} \ No newline at end of file