Skip to content

Commit 8826c44

Browse files
Add manual trigger workflow for GitHub Pages rebuild
1 parent 1068960 commit 8826c44

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: Rebuild Pages
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
trigger-rebuild:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Trigger GitHub Pages rebuild
11+
run: |
12+
curl -X POST \
13+
-H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
14+
-H "Accept: application/vnd.github.v3+json" \
15+
https://api.github.com/repos/${{ github.repository }}/pages/builds

0 commit comments

Comments
 (0)