From 39bb8052f335be65bff906bfce54ad1fb5e7f9f3 Mon Sep 17 00:00:00 2001 From: Kyle Gerard Felker Date: Fri, 28 Jul 2023 16:51:57 -0500 Subject: [PATCH] Add new GH Action workflow for testing PRs and commits to master --- .github/workflows/test-mkdocs-build.yml | 20 ++++++++++++++++++++ Makefile | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/test-mkdocs-build.yml diff --git a/.github/workflows/test-mkdocs-build.yml b/.github/workflows/test-mkdocs-build.yml new file mode 100644 index 000000000..2c93a3895 --- /dev/null +++ b/.github/workflows/test-mkdocs-build.yml @@ -0,0 +1,20 @@ +name: update-livesite +on: + push: + branches: + - main + pull_request: + branches: [ master ] + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + submodules: recursive + - uses: actions/setup-python@v4 + with: + python-version: 3.x + - run: pip install -r requirements.txt + - run: mkdocs build --strict diff --git a/Makefile b/Makefile index 70dfb25ca..d63e4c35b 100644 --- a/Makefile +++ b/Makefile @@ -8,7 +8,7 @@ install-dev: .PHONY: build-docs build-docs: - mkdocs build + mkdocs build --strict .PHONY: all