wiki/.github/workflows/gh.yml

30 lines
571 B
YAML
Raw Normal View History

---
name: mkdocs build
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ 3.8 ]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Install requirements
run: python3 -m pip install -r requirements.txt
- name: Deploy
run: python3 -m mkdocs gh-deploy --force
...