From 01e6f9263b3a11622a57595f0cec9ba74b8db837 Mon Sep 17 00:00:00 2001 From: tastybento Date: Sun, 6 Aug 2023 12:14:14 -0700 Subject: [PATCH] Add Modrinth publish workflow for GitHub Actions --- .github/.gitignore | 1 + .github/workflows/modrinth.yml | 10 ++++++++++ 2 files changed, 11 insertions(+) create mode 100644 .github/.gitignore create mode 100644 .github/workflows/modrinth.yml diff --git a/.github/.gitignore b/.github/.gitignore new file mode 100644 index 0000000..e43b0f9 --- /dev/null +++ b/.github/.gitignore @@ -0,0 +1 @@ +.DS_Store diff --git a/.github/workflows/modrinth.yml b/.github/workflows/modrinth.yml new file mode 100644 index 0000000..d4ccd33 --- /dev/null +++ b/.github/workflows/modrinth.yml @@ -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 }} \ No newline at end of file