silverstripe-framework/.github/workflows/main.yml
Aaron Carlino 6e31ae6447
Add action for netlify docs build
Now that our docs are hosted on Netlify, we should trigger builds every time a `docs/` file is added
2019-11-20 16:26:13 +13:00

16 lines
303 B
YAML

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 }}