Skip to content

Commit

Permalink
Use PyPI trusted publishers for deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
nicoddemus committed Apr 21, 2023
1 parent 927f310 commit c0d7fa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ jobs:

deploy:
runs-on: ubuntu-latest
environment: deploy
permissions:
id-token: write # For PyPI trusted publishers.

steps:
- uses: actions/checkout@v3
Expand All @@ -24,9 +27,6 @@ jobs:

- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_token }}

- name: Set up Python
uses: actions/setup-python@v4.5.0
Expand Down

0 comments on commit c0d7fa1

Please sign in to comment.