We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dc378d commit 13df9cdCopy full SHA for 13df9cd
.github/workflows/trigger_pact_docs_update.yml
@@ -0,0 +1,22 @@
1
+name: Trigger update to docs.pact.io
2
+
3
+on:
4
+ workflow_dispatch:
5
+ push:
6
+ branches:
7
+ - master
8
+ paths:
9
+ - '**.md'
10
11
+jobs:
12
+ run:
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Trigger docs.pact.io update workflow
16
+ run: |
17
+ curl -X POST https://api.github.com/repos/pact-foundation/docs.pact.io/dispatches \
18
+ -H 'Accept: application/vnd.github.everest-preview+json' \
19
+ -H "Authorization: Bearer $GITHUB_TOKEN" \
20
+ -d '{"event_type": "pact-go-docs-updated"}'
21
+ env:
22
+ GITHUB_TOKEN: ${{ secrets.GHTOKENFORTRIGGERINGPACTDOCSUPDATE }}
0 commit comments