Skip to content

Commit

Permalink
Update python-publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
j-faria authored Jan 12, 2024
1 parent c226446 commit d3186f8
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,14 @@ on:
release:
types: [published]

permissions:
contents: read

jobs:
deploy:

runs-on: ubuntu-latest
environment:
name: deploy-to-pypi
url: https://pypi.org/p/kima
permissions:
id-token: write

steps:
- uses: actions/checkout@v3
Expand All @@ -31,7 +32,3 @@ jobs:

- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
repository-url: https://test.pypi.org/legacy/
user: __token__
password: ${{ secrets.PYPIT_API_TOKEN }}

0 comments on commit d3186f8

Please sign in to comment.