Skip to content

Commit

Permalink
Merge pull request #96 from Marcus-Adair/Marcus-Adair-action
Browse files Browse the repository at this point in the history
Create send_update_signal.yml
  • Loading branch information
dmelgarm authored Jul 17, 2024
2 parents 07ffbe6 + 887ad30 commit b146e55
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/send_update_signal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Dispatch Event on Master Update

on:
push:
branches:
- master

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Send repository dispatch event
run: |
curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.CICD_PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/UO-Geophysics/on_demand_fakequakes/dispatches \
-d '{"event_type":"repo-update","client_payload":{"unit":false,"integration":true}}'

0 comments on commit b146e55

Please sign in to comment.