META: Add new action to build docs

This commit is contained in:
Aaron Carlino 2019-12-19 13:44:37 +13:00 committed by GitHub
parent 586fb516c6
commit 49ac8de8f0
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 }}