diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ccf1950..1616c62 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,12 +11,12 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v3 # Latest stable version + uses: actions/checkout@v3 - name: Set up Python - uses: actions/setup-python@v4 # Latest stable version + uses: actions/setup-python@v4 with: - python-version: '3.10' # Specify the Python version you need + python-version: '3.10' - name: Install dependencies run: | @@ -29,6 +29,7 @@ jobs: - name: Publish to PyPI env: - PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }} # Ensure your PyPI token is set in GitHub Secrets + TWINE_USERNAME: __token__ # This is the username for PyPI token-based authentication + TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }} # Use the secret PyPI token run: | twine upload dist/*