diff options
author | Yasin <LifeIsAParadox@users.noreply.github.com> | 2023-11-19 02:33:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-18 20:33:45 -0500 |
commit | cb4c7e2a2ecccb516ed4ca62eb08263d18091dbe (patch) | |
tree | 6f0791b586a2be59c9dfd2e047897944198f391a | |
parent | 5e27a5cc104e5a891f122eb5bb1f01704b0470f3 (diff) | |
download | Skyblocker-cb4c7e2a2ecccb516ed4ca62eb08263d18091dbe.tar.gz Skyblocker-cb4c7e2a2ecccb516ed4ca62eb08263d18091dbe.tar.bz2 Skyblocker-cb4c7e2a2ecccb516ed4ca62eb08263d18091dbe.zip |
trigger modpack (#424)
this will trigger the update script on modpack repo
-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"}' |