wiki/.github/workflows/build.yml

29 lines
584 B
YAML
Raw Normal View History

2022-10-11 22:59:58 +00:00
name: mkdocs build
on:
2022-10-11 23:12:08 +00:00
workflow_dispatch:
2022-10-11 22:59:58 +00:00
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