File tree Expand file tree Collapse file tree 1 file changed +17
-7
lines changed
Expand file tree Collapse file tree 1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change 88 - ' **.md'
99
1010jobs :
11- build :
11+ run :
1212 runs-on : ubuntu-latest
1313 steps :
14- - name : Trigger partner.pactflow.io update workflow
15- uses : peter-evans/repository-dispatch@v1
16- with :
17- token : ${{ secrets.GHTOKENFORTRIGGERINGPACTDOCSUPDATE }}
18- repository : pactflow/partners.pactflow.io
19- event-type : pactflow-example-consumer-python-updated
14+ - name : Trigger partners.pact.io update workflow
15+ run : |
16+ curl -X POST https://api.github.com/repos/pactflow/partners.pactflow.io/dispatches \
17+ -H 'Accept: application/vnd.github.everest-preview+json' \
18+ -H "Authorization: Bearer $GITHUB_TOKEN" \
19+ -d '{"event_type": "pactflow-example-consumer-python-updated"}'
20+ env :
21+ GITHUB_TOKEN : ${{ secrets.GHTOKENFORTRIGGERINGPACTDOCSUPDATE }}
22+ - name : Trigger docs.pact.io update workflow
23+ run : |
24+ curl -X POST https://api.github.com/repos/pactflow/docs.pactflow.io/dispatches \
25+ -H 'Accept: application/vnd.github.everest-preview+json' \
26+ -H "Authorization: Bearer $GITHUB_TOKEN" \
27+ -d '{"event_type": "pactflow-example-consumer-python-updated"}'
28+ env :
29+ GITHUB_TOKEN : ${{ secrets.GHTOKENFORTRIGGERINGPACTDOCSUPDATE }}
You can’t perform that action at this time.
0 commit comments