Update mkdocs.yml

This commit is contained in:
Benjamin Sergeant 2021-11-24 09:05:54 -08:00 committed by GitHub
parent 6cce066021
commit 42db05a38b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,8 @@
name: mkdocs name: mkdocs
on: on:
push: push:
branches:
- master
paths: paths:
- 'docs/**' - 'docs/**'
@ -8,7 +10,7 @@ jobs:
linux: linux:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v2
- name: Set up Python 3.8 - name: Set up Python 3.8
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
@ -21,6 +23,7 @@ jobs:
pip install pygments pip install pygments
- name: Build doc - name: Build doc
run: | run: |
git checkout master
git clean -dfx . git clean -dfx .
git fetch git fetch
git pull git pull