Skip to content
Permalink
Browse files

Add doc build trigger for Github Actions

(cherry picked from commit f1b24b4)
  • Loading branch information...
roji committed Oct 3, 2019
1 parent 876543d commit f2b6e2c8f79596f9bbb628e94c99b46a0b80cc68
Showing with 24 additions and 0 deletions.
  1. +24 −0 .github/workflows/trigger-doc-build.yml
@@ -0,0 +1,24 @@
# This workflow triggers a rebuild of the Npgsql documentation site whenever changes are made to master, which represents our latest released version.
# This pulls in the newest source code for API doc generation.

name: Trigger Documentation Build

on:
push:
branches:
- master

jobs:
build:

runs-on: ubuntu-18.04

steps:
- name: Trigger documentation build
run: |
curl -X POST \
-H "Authorization: token ${{ secrets.DOC_MGMT_TOKEN }}" \
-H "Accept: application/vnd.github.everest-preview+json" \
-H "Content-Type: application/json" \
--data '{ "event_type": "Npgsql push to master" }' \
https://api.github.com/repos/npgsql/doc/dispatches

0 comments on commit f2b6e2c

Please sign in to comment.
You can’t perform that action at this time.