Skip to content

Commit

Permalink
Fix maven deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
Redned235 committed Aug 25, 2024
1 parent ba11083 commit 22670fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Build with Gradle
run: ./gradlew bundledJar
- name: Publish to Maven Repository
if: ${{ success() && github.repository == 'BattlePlugins/BattleArena' && github.ref_name == 'rewrite' }}
if: ${{ success() && github.repository == 'BattlePlugins/BattleArena' && github.ref_name == 'master' }}
run: ./gradlew publish
env:
BUILD_NUMBER: ${{ github.run_number }}
Expand All @@ -30,4 +30,4 @@ jobs:
CHANGELOG: ${{ github.event.head_commit.message }}
BUILD_NUMBER: ${{ github.run_number }}
MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }}
run: ./gradlew modrinth
run: ./gradlew modrinth

0 comments on commit 22670fe

Please sign in to comment.