Update mkdocs.yml
This commit is contained in:
parent
6cce066021
commit
42db05a38b
5
.github/workflows/mkdocs.yml
vendored
5
.github/workflows/mkdocs.yml
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user