From 42db05a38b9c01f9cec16f39f2ce675a3522c68d Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Wed, 24 Nov 2021 09:05:54 -0800 Subject: [PATCH] Update mkdocs.yml --- .github/workflows/mkdocs.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/mkdocs.yml b/.github/workflows/mkdocs.yml index e284c8b5..9cd57b3c 100644 --- a/.github/workflows/mkdocs.yml +++ b/.github/workflows/mkdocs.yml @@ -1,6 +1,8 @@ name: mkdocs on: push: + branches: + - master paths: - 'docs/**' @@ -8,7 +10,7 @@ jobs: linux: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v2 - name: Set up Python 3.8 uses: actions/setup-python@v1 with: @@ -21,6 +23,7 @@ jobs: pip install pygments - name: Build doc run: | + git checkout master git clean -dfx . git fetch git pull