diff --git a/.github/workflows/notify-docs-site.yml b/.github/workflows/notify-docs-site.yml new file mode 100644 index 00000000..b2b8dff6 --- /dev/null +++ b/.github/workflows/notify-docs-site.yml @@ -0,0 +1,22 @@ +name: Notify Docs Site + +on: + push: + branches: [ main ] + paths: + - 'Docs/pages/**' + workflow_dispatch: + +jobs: + dispatch: + if: github.ref == 'refs/heads/main' + name: Trigger Site rebuild + runs-on: ubuntu-latest + steps: + - name: Dispatch extension-documentation-updated-event to Testably/Testably.Site + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.SITE_DISPATCH_TOKEN }} + repository: Testably/Testably.Site + event-type: extension-documentation-updated-event + client-payload: '{"source": "${{ github.repository }}", "sha": "${{ github.sha }}"}'