Merge pull request #10859 from jonasrosland/trigger-netlify-build-on-docs-update

Trigger a new Netlify build when new docs are merged
This commit is contained in:
Michael Michael 2020-03-23 10:35:55 -05:00 committed by GitHub
commit 26e3291e41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 }}