Altered tags to releases

This commit is contained in:
Sekwah 2021-04-05 14:50:41 +01:00
parent 3ac200bbc0
commit a30e44bb35
No known key found for this signature in database
GPG Key ID: C3BE2E6C861A461A
1 changed files with 2 additions and 2 deletions

View File

@ -26,8 +26,8 @@ jobs:
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
run: ./gradlew discordupload
- name: Publish to Curseforge (If release branch)
if: startsWith(github.ref, 'refs/heads/release/')
- name: Publish to Curseforge (If tagged)
if: startsWith(github.ref, 'refs/tags/')
env:
CURSE_API: ${{ secrets.CURSE_API }}
run: ./gradlew curseforge