Skip to content

Commit

Permalink
试一下mirror
Browse files Browse the repository at this point in the history
  • Loading branch information
sumneko committed Feb 10, 2025
1 parent 7794c0a commit d5b0640
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/mirror.yml
Original file line number Diff line number Diff line change
@@ -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"}'

0 comments on commit d5b0640

Please sign in to comment.