Merge pull request #9323 from silverstripe/netlify-build-action

META: Add action for netlify docs build
This commit is contained in:
Serge Latyntsev 2019-11-21 10:32:58 +13:00 committed by GitHub
commit 5232b87819
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

@ -0,0 +1,15 @@
name: Build Docs
on:
push:
branches:
- '3.7'
- '4'
paths:
- 'docs/**'
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 }}