Skip to content

Commit af7a4b9

Browse files
committed
chore: rebuild website on change
1 parent 5939ded commit af7a4b9

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/doc.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,19 @@ jobs:
1515
runs-on: ubuntu-latest
1616

1717
steps:
18+
- name: Rebuild website
19+
run: |
20+
curl -fsS \
21+
-H 'Accept: application/vnd.github.everest-preview+json' \
22+
-H 'Content-type: application/json' \
23+
-H "Authorization: Bearer $GH_PAT_ORG" \
24+
-X POST \
25+
-d '{"event_type":"build"}' \
26+
https://api.github.com/repos/$GH_REPO/dispatches
27+
env:
28+
GH_PAT_ORG: ${{ secrets.GH_PAT_ORG }}
29+
GH_REPO: violentmonkey/violentmonkey-astro
30+
1831
- uses: actions/checkout@v3
1932
with:
2033
persist-credentials: false

0 commit comments

Comments
 (0)