Skip to content

Merge pull request #74 from gotreasa/02-24-chore_remove_unused_packag… #11

Merge pull request #74 from gotreasa/02-24-chore_remove_unused_packag…

Merge pull request #74 from gotreasa/02-24-chore_remove_unused_packag… #11

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