META: Add github action to build docs

This commit is contained in:
Aaron Carlino 2019-12-19 13:56:43 +13:00 committed by GitHub
parent 85dce59716
commit 42540b6a10
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,14 @@
name: Build Docs
on:
push:
branches:
- '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 }}