aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/dispatch_chatcommands.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/dispatch_chatcommands.yml b/.github/workflows/dispatch_chatcommands.yml
new file mode 100644
index 0000000..e403bd7
--- /dev/null
+++ b/.github/workflows/dispatch_chatcommands.yml
@@ -0,0 +1,12 @@
+name: dispatch-chatcommands
+
+on:
+ push:
+ branches: [ main ]
+
+jobs:
+ upgrade_proxy:
+ runs-on: ubuntu-latest
+ steps:
+ - name: Dispatch auto update
+ run: curl -XPOST -u "${{ secrets.PAT_USERNAME}}:${{secrets.PAT_TOKEN}}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/HimbeerserverDE/mt-multiserver-chatcommands/actions/workflows/upgrade_proxy.yml/dispatches --data '{"ref": "main"}'