Skip to content

Commit 90ed7e4

Browse files
committed
ci: add github workflow
1 parent 5e6b21a commit 90ed7e4

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

.github/workflows/main-webhook.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Main Branch Webhook
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
webhook:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Call webhook
13+
run: |
14+
curl "${{ secrets.DEV_WEBHOOK_URL }}/pre" \
15+
-H "Authorization: Bearer ${{ secrets.DEV_WEBHOOK_API_KEY }}"

0 commit comments

Comments
 (0)