aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-11-17 04:33:14 +0100
committerLinnea Gräf <nea@nea.moe>2024-11-17 04:33:14 +0100
commit762fb402151809395cf9883354804e49a9b188a8 (patch)
treedd13fb7bc7650ddfcd5128056c3bb110b1e32794 /.github
parent88b0b2cadc2cd119fee75470d1e47d91395e24fd (diff)
downloadFirmament-762fb402151809395cf9883354804e49a9b188a8.tar.gz
Firmament-762fb402151809395cf9883354804e49a9b188a8.tar.bz2
Firmament-762fb402151809395cf9883354804e49a9b188a8.zip
ci: Mark modrinth deployment url
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/publish-github-to-modrinth.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.github/workflows/publish-github-to-modrinth.yml b/.github/workflows/publish-github-to-modrinth.yml
index 144c4bf..18ecf4a 100644
--- a/.github/workflows/publish-github-to-modrinth.yml
+++ b/.github/workflows/publish-github-to-modrinth.yml
@@ -7,9 +7,15 @@ on:
types:
- published
+name: Publishing
+
jobs:
upload-to-modrinth:
runs-on: ubuntu-latest
+ name: "Modrinth"
+ environment:
+ name: Modrinth
+ url: ${{ steps.mc-publish.outputs.modrinth-url }}
steps:
- run: |
gh release download "$TAG" -p '*.jar' --repo "$REPO"
@@ -22,6 +28,7 @@ jobs:
env:
CHANGELOG: ${{ github.event.release.body }}
- uses: Kir-Antipov/mc-publish@v3.3
+ id: mc-publish
with:
modrinth-id: IJNUBZ2a
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}