ci: Mark modrinth deployment url
This commit is contained in:
@@ -7,9 +7,15 @@ on:
|
|||||||
types:
|
types:
|
||||||
- published
|
- published
|
||||||
|
|
||||||
|
name: Publishing
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
upload-to-modrinth:
|
upload-to-modrinth:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
name: "Modrinth"
|
||||||
|
environment:
|
||||||
|
name: Modrinth
|
||||||
|
url: ${{ steps.mc-publish.outputs.modrinth-url }}
|
||||||
steps:
|
steps:
|
||||||
- run: |
|
- run: |
|
||||||
gh release download "$TAG" -p '*.jar' --repo "$REPO"
|
gh release download "$TAG" -p '*.jar' --repo "$REPO"
|
||||||
@@ -22,6 +28,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
CHANGELOG: ${{ github.event.release.body }}
|
CHANGELOG: ${{ github.event.release.body }}
|
||||||
- uses: Kir-Antipov/mc-publish@v3.3
|
- uses: Kir-Antipov/mc-publish@v3.3
|
||||||
|
id: mc-publish
|
||||||
with:
|
with:
|
||||||
modrinth-id: IJNUBZ2a
|
modrinth-id: IJNUBZ2a
|
||||||
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
|
modrinth-token: ${{ secrets.MODRINTH_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user