update documentation deploy gh action
parent
582c85b140
commit
1c352f5ff0
|
@ -11,16 +11,19 @@ on:
|
||||||
# Allows you to run this workflow manually from the Actions tab
|
# Allows you to run this workflow manually from the Actions tab
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v3
|
||||||
|
- uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
python-version: 3.x
|
||||||
- uses: actions/setup-python@v2
|
- uses: actions/cache@v2
|
||||||
- run: pip install --upgrade pip && pip install mkdocs mkdocs-gen-files
|
with:
|
||||||
- run: git config user.name 'github-actions[bot]' && git config user.email 'github-actions[bot]@users.noreply.github.com'
|
key: ${{ github.ref }}
|
||||||
- name: Publish docs
|
path: .cache
|
||||||
run: mkdocs gh-deploy
|
- run: pip install mkdocs-material
|
||||||
|
- run: mkdocs gh-deploy --force
|
||||||
|
|
Loading…
Reference in New Issue