add a hook to update the bot when lamm is updated

This commit is contained in:
2024-10-14 20:49:35 -04:00
parent 3fe09ad4e4
commit e52d71a2c0

View File

@@ -0,0 +1,19 @@
name: Trigger Bot Build
on:
push:
branches:
- dev
jobs:
trigger-bot-build:
runs-on: ubuntu-latest
steps:
- name: Send repository dispatch
env:
GITHUB_TOKEN: ${{ secrets.LAMM_TOKEN }}
run: |
curl -X POST -H "Accept: application/vnd.github.everest-preview+json" \
-H "Authorization: token $GITHUB_TOKEN" \
https://api.github.com/repos/minneelyyyy/bot/dispatches \
-d '{"event_type": "lamm-updated"}'