We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4359a1e commit cd181e1Copy full SHA for cd181e1
1 file changed
.github/workflows/trigger-docs-site.yml
@@ -0,0 +1,26 @@
1
+name: Trigger docs site rebuild
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ paths: ["docs/**"]
7
8
+jobs:
9
+ notify-docs-site:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/create-github-app-token@v1
13
+ id: app-token
14
+ with:
15
+ app-id: ${{ secrets.DOCS_DISPATCH_APP_ID }}
16
+ private-key: ${{ secrets.DOCS_DISPATCH_APP_KEY }}
17
+ owner: shakacode
18
+ repositories: react-on-django.com
19
20
+ - uses: peter-evans/repository-dispatch@v3
21
22
+ token: ${{ steps.app-token.outputs.token }}
23
+ repository: shakacode/react-on-django.com
24
+ event-type: docs-updated
25
+ client-payload: >-
26
+ {"repo_url":"https://github.com/shakacode/react-on-django.git","ref":"main"}
0 commit comments