Skip to content

Commit

Permalink
chore: fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
mja00 committed Aug 5, 2024
1 parent 7552741 commit eb08d95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ jobs:
- name: Publish to Modrinth
uses: Kir-Antipov/[email protected]
# Only publish if we're on the main branch
if: github.ref == 'refs/heads/main'
if: github.ref == 'refs/heads/main' && github.event_name != 'pull_request' && (!contains(github.event.head_commit.message, '[skip ci]') || contains(github.event.head_commit.message, '[ci skip]'))
with:
modrinth-id: sQ1MQcd2
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
modrinth-featured: true
modrinth-unfeature-mode: game-version-intersection | loaders-subset
modrinth-unfeature-mode: subset
# The files will be 'Kami Chan Optimized-w.x.y.z.mrpack' so just use that
files: '*.mrpack'
loaders: |
Expand Down

0 comments on commit eb08d95

Please sign in to comment.