Skip to content

Commit

Permalink
Merge pull request #982 from metno/trupubman972
Browse files Browse the repository at this point in the history
Use PyPis Trusted Publisher Management for releases
  • Loading branch information
lewisblake committed Feb 5, 2024
2 parents 2785166 + 66e13bb commit 1bf92d5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v3
- name: Set up Python
Expand All @@ -21,6 +24,4 @@ jobs:
run: python -m build
- name: Publish package
uses: pypa/gh-action-pypi-publish@release/v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}

0 comments on commit 1bf92d5

Please sign in to comment.