Update README.md #175
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish docs via GitHub Pages | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
deploy: | |
runs-on: ubuntu-18.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 # fetch all commits/branches | |
- name: Setup Python | |
uses: actions/setup-python@v1 | |
with: | |
python-version: '3.7' | |
architecture: 'x64' | |
- name: apt install | |
run: | | |
sudo apt update -y | |
sudo apt install -y $(cat pkglist.txt) | |
- name: Install dependencies | |
run: | | |
pip install --upgrade pip | |
pip install -r ./requirements.txt | |
- name: mkdocs deploy | |
run: mkdocs gh-deploy |