From 583a9b6f3b0623c9f8315bd4c6a8ed68aae125c4 Mon Sep 17 00:00:00 2001 From: booky10 <53302036+booky10@users.noreply.github.com> Date: Fri, 3 Sep 2021 20:19:34 +0200 Subject: [PATCH] fixed the reload command execution --- .github/workflows/zip.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/zip.yml b/.github/workflows/zip.yml index 782ca10..6345ff6 100644 --- a/.github/workflows/zip.yml +++ b/.github/workflows/zip.yml @@ -27,7 +27,7 @@ jobs: UPLOAD_URL="${UPLOAD_URL:1:545}&directory=/world/datapacks" curl -X POST -F files=@datapack.zip "$UPLOAD_URL" echo "Uploaded the new datapack to the test server." - curl -H "Authorization: Bearer $API_KEY" -X POST "https://webinterface.chaoshosting.tk/api/client/servers/$SERVER/command" -d '{"command":"reload"}' + curl -H "Authorization: Bearer $API_KEY" -X POST "https://webinterface.chaoshosting.tk/api/client/servers/$SERVER/command?command=reload" echo "Executed /reload after upload." - name: Delete old release