diff options
-rw-r--r-- | .github/workflows/buildrelease.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.github/workflows/buildrelease.yml b/.github/workflows/buildrelease.yml index fde5785b..4a15fe57 100644 --- a/.github/workflows/buildrelease.yml +++ b/.github/workflows/buildrelease.yml @@ -138,4 +138,9 @@ jobs: https://hysky.de/" - curl -H "Content-Type: application/json" -d '{"content":"'"${OUTPUT//$'\n'/\\n}"'", "flags": 4}' "${{ secrets.DISCORD_WEBHOOK }}"
\ No newline at end of file + curl -H "Content-Type: application/json" -d '{"content":"'"${OUTPUT//$'\n'/\\n}"'", "flags": 4}' "${{ secrets.DISCORD_WEBHOOK }}" + + - name: Trigger Modpack + shell: bash + run: | + curl -X POST -H "Authorization:Bearer ${{secrets.MODPACK_TOKEN}}" -H "X-GitHub-Api-Version:2022-11-28" https://api.github.com/repos/SkyblockerMod/Skyblocker-modpack/actions/workflows/update.yml/dispatches --data '{"ref":"main"}' |