mirror of
https://git.resf.org/sig_core/wiki.git
synced 2024-11-15 20:21:22 +00:00
30 lines
571 B
YAML
30 lines
571 B
YAML
|
---
|
||
|
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
|
||
|
...
|