Skip to content

Commit

Permalink
Only publish pre-release on main repo
Browse files Browse the repository at this point in the history
  • Loading branch information
mblomdahl committed Oct 23, 2022
1 parent 889607c commit c3c50d9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish-prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
jobs:
publish-prerelease:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' && contains(github.event.repository.url, 'mblomdahl/mapbox-gl-circle') }}
if: ${{ github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_repository.full_name == 'mblomdahl/mapbox-gl-circle' }}
permissions:
packages: write
contents: write
Expand Down

0 comments on commit c3c50d9

Please sign in to comment.