Skip to content

Commit a0480ba

Browse files
committed
Enable CF/MR publishing
1 parent b4ebddc commit a0480ba

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,17 @@ jobs:
6161
with:
6262
if-no-files-found: error
6363
path: loader-*/build/libs/*
64-
# - name: 'Deploy to CurseForge'
65-
# if: startsWith(github.ref, 'refs/tags/') || (!startsWith(github.event.head_commit.message, 'Bump mod version') && startsWith(github.ref, 'refs/heads/master'))
66-
# env:
67-
# CURSEFORGE_KEY_SECRET: ${{ secrets.CURSEFORGE_KEY_SECRET }}
68-
# run: ./gradlew publishCurseForge
69-
# - name: 'Deploy to Modrinth'
70-
# continue-on-error: true
71-
# if: startsWith(github.ref, 'refs/tags/') || (!startsWith(github.event.head_commit.message, 'Bump mod version') && startsWith(github.ref, 'refs/heads/master'))
72-
# env:
73-
# MODRINTH_KEY_SECRET: ${{ secrets.MODRINTH_KEY_SECRET }}
74-
# run: ./gradlew modrinth
64+
- name: 'Deploy to CurseForge'
65+
if: startsWith(github.ref, 'refs/tags/') || (!startsWith(github.event.head_commit.message, 'Bump mod version') && startsWith(github.ref, 'refs/heads/master'))
66+
env:
67+
CURSEFORGE_KEY_SECRET: ${{ secrets.CURSEFORGE_KEY_SECRET }}
68+
run: ./gradlew publishCurseForge
69+
- name: 'Deploy to Modrinth'
70+
continue-on-error: true
71+
if: startsWith(github.ref, 'refs/tags/') || (!startsWith(github.event.head_commit.message, 'Bump mod version') && startsWith(github.ref, 'refs/heads/master'))
72+
env:
73+
MODRINTH_KEY_SECRET: ${{ secrets.MODRINTH_KEY_SECRET }}
74+
run: ./gradlew modrinth
7575
- name: 'Deploy to Maven'
7676
if: startsWith(github.ref, 'refs/heads/master') || startsWith(github.ref, 'refs/heads/feature')
7777
env:

0 commit comments

Comments
 (0)