Skip to content

Commit

Permalink
Add new GH Action workflow for testing PRs and commits to master
Browse files Browse the repository at this point in the history
  • Loading branch information
felker committed Jul 28, 2023
1 parent a8436b2 commit 39bb805
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions .github/workflows/test-mkdocs-build.yml
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ install-dev:

.PHONY: build-docs
build-docs:
mkdocs build
mkdocs build --strict


.PHONY: all
Expand Down

0 comments on commit 39bb805

Please sign in to comment.