Skip to content

Version bump 0.2.3

Version bump 0.2.3 #10

name: mkdocs gh-deploy
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: "3.8"
- name: Cache pip
id: cache
uses: actions/cache@v1
with:
path: ~/.cache/pip # This path is specific to Ubuntu
key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip
${{ runner.os }}
- name: Pip install requirements
run: pip install -r requirements.txt
- name: MkDocs
env:
GH_PAT: ${{ secrets.GITHUB_TOKEN }}
run: |
git remote set-url origin https://x-access-token:${GH_PAT}@github.com/${GITHUB_REPOSITORY}.git
mkdocs gh-deploy