Skip to content
This repository has been archived by the owner on Apr 8, 2023. It is now read-only.

Commit

Permalink
fixed the reload command execution
Browse files Browse the repository at this point in the history
  • Loading branch information
booky10 authored Sep 3, 2021
1 parent 6761e3c commit 583a9b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
UPLOAD_URL="${UPLOAD_URL:1:545}&directory=/world/datapacks"
curl -X POST -F [email protected] "$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
Expand Down

0 comments on commit 583a9b6

Please sign in to comment.