diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index 7b5c988..0000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,14 +0,0 @@ -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 }} diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f8e96e9..7b5c988 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,11 +1,14 @@ -name: Module CI - +name: Build Docs on: push: - pull_request: - + branches: + - 'master' + paths: + - 'docs/en/userguide/**' jobs: - ci: - uses: silverstripe/github-actions-ci-cd/.github/workflows/ci.yml@0.1.11 - with: - run_endtoend: true + 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 }}