pact-foundation/pact-js

View on GitHub
.github/workflows/trigger_pact_docs_update.yml

Summary

Maintainability
Test Coverage
name: Trigger update to docs.pact.io

on:
  push:
    branches:
      - master
    paths:
      - '**.md'

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Trigger docs.pact.io update workflow
        uses: peter-evans/repository-dispatch@v1
        with:
          token: ${{ secrets.GHTOKENFORTRIGGERINGPACTDOCSUPDATE }}
          repository: pact-foundation/docs.pact.io
          event-type: pact-js-docs-updated