Skip to content

Commit 3bfd382

Browse files
committed
update workflow
1 parent 698660c commit 3bfd382

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Trigger jekyll update
2+
on:
3+
push:
4+
branches: [ master ]
5+
6+
jobs:
7+
trigger:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Trigger jekyll site workflow
11+
run: |
12+
curl -X POST \
13+
-H "Accept: application/vnd.github.v3+json" \
14+
-H "Authorization: token ${{ secrets.PRIVATE_TOKEN }}" \
15+
https://api.github.com/repos/wwulfric/wwulfric.github.io/actions/workflows/jekyll-gh-pages.yml/dispatches \
16+
-d '{"event_type":"articles-updated","client_payload":{"sha":"${{ github.sha }}","ref":"${{ github.ref }}"}}'

0 commit comments

Comments
 (0)