Skip to content

Commit

Permalink
remove branch condition
Browse files Browse the repository at this point in the history
  • Loading branch information
rbavery committed May 8, 2024
1 parent 3ed7c12 commit 2e89539
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ name: Publish JSON Schema or stac-model package via Github Release
on:
release:
types: [published]
branches: [main]
jobs:
deploy-schema:
if: startsWith(github.ref, 'refs/tags/v')
Expand All @@ -28,5 +27,5 @@ jobs:
python-version: "3.10"
- name: Install poetry
run: make poetry-install
- name: Publish to PyPI
- name: Publish stac-model to PyPI
run: poetry publish --username __token__ --password ${{ secrets.PYPI_SECRET }}

0 comments on commit 2e89539

Please sign in to comment.