Skip to content

Commit

Permalink
add webhook
Browse files Browse the repository at this point in the history
  • Loading branch information
omenking committed Apr 30, 2024
1 parent 83bfbbb commit 0362fee
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 61 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/manual.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .github/workflows/multi-event.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/workflows/schedule.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/webhook.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: "Webhook Event example"

on:
repository_dispatch:
types:
- webhook

jobs:
respond-to-dispatch:
runs-on: ubuntu-latest
steps:
- name Checkout repo
uses: actions/checkout@v2
- name: Run a script
run: echo "Event of type: $GITHUB_EVENT_NAME"

0 comments on commit 0362fee

Please sign in to comment.