Skip to content

Commit 14dc692

Browse files
committed
added github action trigger
1 parent a7e7a1b commit 14dc692

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Trigger Profile Update
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
notify-profile:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Ping Profile Repository
13+
run: |
14+
curl -L \
15+
-X POST \
16+
-H "Accept: application/vnd.github+json" \
17+
-H "Authorization: Bearer ${{ secrets.PROFILE_UPDATE_TOKEN }}" \
18+
-H "X-GitHub-Api-Version: 2022-11-28" \
19+
https://api.github.com/repos/ullaskunder3/ullaskunder3/dispatches \
20+
-d '{"event_type": "blog_published"}'

0 commit comments

Comments
 (0)