Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ jobs:
build-n-publish:
name: Build and publish to PyPI
runs-on: ubuntu-latest
environment:
name: pypi
url: https://pypi.org/x/xpystac
permissions:
id-token: write
if: ${{ github.repository }} == 'stac-utils/xpystac'

steps:
- name: checkout repo
Expand All @@ -26,7 +32,3 @@ jobs:

- name: Publish distribution to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
with:
# Password is set in GitHub UI to an API secret for pypi
user: __token__
password: ${{ secrets.PYPI_API_KEY }}