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

Commit

Permalink
added id back to release and executing /reload after upload
Browse files Browse the repository at this point in the history
  • Loading branch information
booky10 authored Sep 3, 2021
1 parent e38ee9c commit 6761e3c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ 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"}'
echo "Executed /reload after upload."
- name: Delete old release
uses: larryjoelane/[email protected]
Expand All @@ -35,6 +37,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}

- name: Create release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 6761e3c

Please sign in to comment.