chore: be more specific in pr publish repo condition

This commit is contained in:
mworzala 2024-02-20 21:20:36 -05:00
parent c9a4b4b9c1
commit c5a145cf8b
No known key found for this signature in database
GPG Key ID: B148F922E64797C7
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ jobs:
run: ./gradlew test
publish:
runs-on: ubuntu-latest
if: github.repository_owner == 'Minestom'
if: github.repository == 'Minestom/Minestom'
env:
SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }}
SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }}