aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHimbeerserverDE <himbeerserverde@gmail.com>2023-12-02 20:36:25 +0100
committerHimbeerserverDE <himbeerserverde@gmail.com>2023-12-02 20:36:25 +0100
commit632104f7446118640817879e9b88c73e5e314f44 (patch)
tree4651db24b2716fe350891b8c793bf1bc5d6ca601
parent39635e0a37e27f51151de6be9a865beae5c55c81 (diff)
add dispatcher for chat command plugin auto update
-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"}'