Skip to content

Fix:format

Fix:format #110

Workflow file for this run

name: Build Docs
on:
pull_request:
types:
- opened
- synchronize
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: "3.8"
- name: Install dependencies
run: |
wget https://github.com/jgm/pandoc/releases/download/2.18/pandoc-2.18-1-amd64.deb && sudo dpkg -i pandoc-2.18-1-amd64.deb
sudo apt-get install pandoc-citeproc
python -m pip install --upgrade pip
pip install -r requirements.lock
- name: Build docs
run: mkdocs build
- name: Deploy docs
if: github.ref == 'refs/heads/master' && github.event_name == 'push'
run: |
mkdocs gh-deploy --force