Trigger a new Netlify build when new docs are merged

Signed-off-by: jonasrosland <jrosland@vmware.com>
This commit is contained in:
jonasrosland 2020-02-26 12:40:07 -05:00
parent 26f71d47b3
commit 84d863b4f7
1 changed files with 13 additions and 0 deletions

13
.github/workflows/netlify.yml vendored Normal file
View File

@ -0,0 +1,13 @@
name: Build and Deploy to Netlify
on:
push:
paths:
- 'docs/**'
branches:
- master
jobs:
build:
runs-on: ubuntu-18.04
steps:
- name: Deploy new-site to Netlify
run: curl -X POST -d {} ${{ secrets.NETLIFY_BUILD_HOOK }}