Skip to content

[CI] Automate update modules #1

[CI] Automate update modules

[CI] Automate update modules #1

Workflow file for this run

name: Trigger Modules Update
on:
push:
branches:
- main
jobs:
trigger-dispatch:
runs-on: ubuntu-latest
steps:
- name: Send repository_dispatch event
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
-H "Accept: application/vnd.github.v3+json" \
https://api.github.com/repos/The-MoonTg-project/Moon-Userbot/dispatches \
-d '{
"event_type": "custom-modules-updated",
"client_payload": {}
}'