forked from sig_cloud/wiki
29 lines
584 B
YAML
29 lines
584 B
YAML
name: mkdocs build
|
|
on:
|
|
workflow_dispatch:
|
|
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
|