mirror of
https://github.com/Cian-H/my_nvim_config.git
synced 2025-12-22 20:21:57 +00:00
Create trigger_rebuild.yaml
This commit is contained in:
20
.github/workflows/trigger_rebuild.yaml
vendored
Normal file
20
.github/workflows/trigger_rebuild.yaml
vendored
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
name: Trigger Build
|
||||||
|
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches:
|
||||||
|
- main # or whichever branches you want to monitor
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
trigger:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: Trigger container rebuild
|
||||||
|
run: |
|
||||||
|
curl -L \
|
||||||
|
-X POST \
|
||||||
|
-H "Accept: application/vnd.github+json" \
|
||||||
|
-H "Authorization: Bearer ${{ secrets.PUBLIC_REPO_SYNC_TOKEN }}" \
|
||||||
|
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||||
|
https://api.github.com/repos/Cian-H/my_nvim/dispatches \
|
||||||
|
-d '{"event_type":"rebuild-container","client_payload":{"repository":"${{ github.repository }}"}}'
|
||||||
Reference in New Issue
Block a user