Add Modrinth publish workflow for GitHub Actions

This commit is contained in:
tastybento 2023-08-06 12:14:14 -07:00
parent 0e0c0b24f2
commit 01e6f9263b
2 changed files with 11 additions and 0 deletions

1
.github/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.DS_Store

10
.github/workflows/modrinth.yml vendored Normal file
View File

@ -0,0 +1,10 @@
name: Modrinth-Release
on:
release:
types: [published]
steps:
- uses: Kir-Antipov/mc-publish@v3.3
with:
# Publish on Modrinth.
modrinth-id: bskyblock
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}