From f11749d4da0357dccf61dc59931657bd73aba5e9 Mon Sep 17 00:00:00 2001 From: carm Date: Thu, 25 Dec 2025 14:35:42 +0800 Subject: [PATCH] ci(deploy): Add deployment to Modrinth --- .github/workflows/deploy.yml | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 57f2a30..0508322 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -87,4 +87,25 @@ jobs: - name: "Push javadocs" run: | cd docs - git push origin HEAD:gh-pages --force \ No newline at end of file + git push origin HEAD:gh-pages --force + + - name: "Modrinth Publish" + id: publish-modrinth + uses: Kir-Antipov/mc-publish@v3.3 + with: + modrinth-id: tLcVHCPk + modrinth-featured: true + modrinth-token: ${{ secrets.MODRINTH_TOKEN }} + files: | + .asset/*.jar + loaders: | + spigot + paper + purpur + game-versions: | + >=1.8 <=1.21.8 + game-version-filter: releases + java: | + 8 + dependencies: | + placeholderapi(recommended) \ No newline at end of file