MNT Add CI workflow

This commit is contained in:
Steve Boyd 2021-11-13 20:13:55 +13:00
parent b544032a22
commit ee8c5d3f91
2 changed files with 22 additions and 11 deletions

14
.github/workflows/docs.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Build Docs
on:
push:
branches:
- 'master'
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 }}

View File

@ -1,14 +1,11 @@
name: Build Docs
name: Module CI
on:
push:
branches:
- 'master'
paths:
- 'docs/en/userguide/**'
pull_request:
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 }}
ci:
uses: silverstripe/github-actions-ci-cd/.github/workflows/ci.yml@0.1.11
with:
run_endtoend: true