Skip to content

Commit

Permalink
Modify publish.yml without secrets
Browse files Browse the repository at this point in the history
  • Loading branch information
ishepard committed Jun 5, 2023
1 parent dfa2358 commit 59b4620
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ jobs:
publish:
name: "Build, test and upload to pypi"
runs-on: "ubuntu-latest"
environment:
name: pypi
url: https://pypi.org/project/PyDriller/
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -39,7 +44,3 @@ jobs:
- name: Publish distribution 📦 to PyPI
if: startsWith(github.ref, 'refs/tags')
uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}


0 comments on commit 59b4620

Please sign in to comment.