diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 60abe199..a9ba8f53 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 }} @@ -30,4 +30,4 @@ jobs: CHANGELOG: ${{ github.event.head_commit.message }} BUILD_NUMBER: ${{ github.run_number }} MODRINTH_TOKEN: ${{ secrets.MODRINTH_TOKEN }} - run: ./gradlew modrinth \ No newline at end of file + run: ./gradlew modrinth