Skip to content

Commit

Permalink
ci(deploy): Support modrinth auto-deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
CarmJos committed Mar 5, 2024
1 parent f73da88 commit c01fa2f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 21 deletions.
41 changes: 21 additions & 20 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,26 +36,27 @@ jobs:
asset_path: ".asset/*.jar"
asset_content_type: application/java-archive

# - name: "Modrinth Publish"
# id: publish-modrinth
# uses: Kir-Antipov/[email protected]
# with:
# modrinth-id: kyCduETO
# modrinth-featured: true
# modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
# files: |
# .asset/*.jar
# loaders: |
# spigot
# paper
# purpur
# game-versions: |
# >=1.16 <=1.20.4
# game-version-filter: releases
# java: |
# 17
# dependencies: |
# placeholderapi(optional)
- name: "Modrinth Publish"
id: publish-modrinth
uses: Kir-Antipov/[email protected]
with:
modrinth-id: iJ735gQq
modrinth-featured: true
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
files: |
.asset/*.jar
loaders: |
spigot
paper
purpur
game-versions: |
>=1.16 <=1.20.4
game-version-filter: releases
java: |
17
dependencies: |
[email protected](required){modrinth:kyCduETO}
placeholderapi(optional)
- name: Update dependency graph
uses: advanced-security/maven-dependency-submission-action@571e99aab1055c2e71a1e2309b9691de18d6b7d6
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
</properties>
<groupId>com.artformgames</groupId>
<artifactId>votepass-mailer</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>

<name>VotePass-Mailer</name>
<description>Support email notify for VotePass in game servers.</description>
Expand Down

0 comments on commit c01fa2f

Please sign in to comment.