diff --git a/.github/workflows/mirror.yml b/.github/workflows/mirror.yml new file mode 100644 index 00000000..6687759b --- /dev/null +++ b/.github/workflows/mirror.yml @@ -0,0 +1,15 @@ +name: Trigger Mirror + +on: push + +jobs: + trigger: + runs-on: ubuntu-latest + steps: + - name: Trigger remote workflow + run: | + curl -X POST \ + -H "Authorization: token ${{ secrets.MIRROR_TOKEN }}" \ + -H "Accept: application/vnd.github+json" \ + "https://api.github.com/repos/CliCli-Editor/workflows/dispatches" \ + -d '{"event_type":"trigger_mirror"}'