META: Add new github action to build docs

This commit is contained in:
Aaron Carlino 2019-12-19 13:45:59 +13:00 committed by GitHub
parent 46fb289a06
commit cb292b5b05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

15
.github/workflows/main.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Build Docs
on:
push:
branches:
- '2'
- 'master'
paths:
- 'docs/en/userguide/**'
jobs:
build:
name: build-docs
runs-on: ubuntu-latest
steps:
- name: Run build hook
run: curl -X POST -d {} https://api.netlify.com/build_hooks/${{ secrets.NETLIFY_BUILD_HOOK }}