META: Add github action to build docs

This commit is contained in:
Aaron Carlino 2019-12-19 13:50:59 +13:00 committed by GitHub
parent b32499ef31
commit 831c3c3cbe
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:
- '1.1'
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 }}