Skip to content

Commit

Permalink
Update pypi publish
Browse files Browse the repository at this point in the history
  • Loading branch information
Tinitto committed Feb 10, 2024
1 parent 9b689f2 commit 8610318
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ jobs:
runs-on: ubuntu-latest
if: "startsWith(github.ref, 'refs/tags/')"
needs: test
environment: release
permissions:
id-token: write
steps:
- name: Checkout the commit
uses: actions/checkout@v3
Expand All @@ -65,5 +68,4 @@ jobs:
run: |
mkdocs gh-deploy --force
- name: Upload to pypi
run: |
twine upload -u ${{ secrets.PYPI_USERNAME }} -p ${{ secrets.PYPI_PASSWORD }} dist/*
run: pypa/gh-action-pypi-publish@release/v1

0 comments on commit 8610318

Please sign in to comment.