Skip to content

Commit

Permalink
add allrules dispatch
Browse files Browse the repository at this point in the history
  • Loading branch information
sakurano committed Nov 1, 2023
1 parent 09f5735 commit 81acb88
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,12 @@ jobs:
enable_jekyll: true
force_orphan: true
cname: rules.ricos.co.jp
dispatch:
runs-on: ubuntu-latest
steps:
- name: allrules
run: |
curl -X POST https://api.github.com/repos/ricosjp/allrules/dispatches \
-H "Accept: application/vnd.github.v3+json" \
-H "authorization: token ${{ secrets.DISPATCH_TOKEN }}" \
--data '{"event_type":"from '$GITHUB_REPOSITORY'"}'

0 comments on commit 81acb88

Please sign in to comment.