mirror of
https://github.com/stefanpejcic/openpanel
synced 2025-06-26 18:28:26 +00:00
cleanup
This commit is contained in:
21
configuration/.github/workflows/trigger-sync.yml
vendored
Normal file
21
configuration/.github/workflows/trigger-sync.yml
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
name: Trigger sync of conf
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main #always
|
||||
|
||||
jobs:
|
||||
trigger:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
repository-projects: write
|
||||
steps:
|
||||
- name: Trigger Sync
|
||||
run: |
|
||||
curl -X POST -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
|
||||
-H "Accept: application/vnd.github.v3+json" \
|
||||
https://api.github.com/repos/stefanpejcic/OpenPanel/dispatches \
|
||||
-d '{"event_type":"sync-configuration"}'
|
||||
Reference in New Issue
Block a user