Skip to content

Merge pull request #1837 from cburgmer/patch-1 #293

Merge pull request #1837 from cburgmer/patch-1

Merge pull request #1837 from cburgmer/patch-1 #293

name: Trigger update to docs.pact.io
on:
workflow_dispatch:
push:
branches:
- master
paths:
- '**.md'
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Trigger docs.pact.io update workflow
run: |
curl -X POST https://api.github.com/repos/pact-foundation/docs.pact.io/dispatches \
-H 'Accept: application/vnd.github.everest-preview+json' \
-H "Authorization: Bearer $GITHUB_TOKEN" \
-d '{"event_type": "pact-jvm-docs-updated"}'
env:
GITHUB_TOKEN: ${{ secrets.GHTOKENFORTRIGGERINGPACTDOCSUPDATE }}