mirror of
https://github.com/silverstripe/silverstripe-contentreview
synced 2024-10-22 17:05:47 +02:00
MNT Add CI workflow
This commit is contained in:
parent
b544032a22
commit
ee8c5d3f91
14
.github/workflows/docs.yml
vendored
Normal file
14
.github/workflows/docs.yml
vendored
Normal 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 }}
|
19
.github/workflows/main.yml
vendored
19
.github/workflows/main.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user