30 Zeilen
572 B
YAML
30 Zeilen
572 B
YAML
|
name: gh-deploy
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- main
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
name: MkDocs Github Pages automatic deployment
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- name: Checkout main
|
||
|
uses: actions/checkout@v2
|
||
|
|
||
|
- name: Set up Python 3.9
|
||
|
uses: actions/setup-python@v2
|
||
|
with:
|
||
|
python-version: '3.9'
|
||
|
|
||
|
- name: Install requirements
|
||
|
run: |
|
||
|
python -m pip install --upgrade pip
|
||
|
pip install -r requirements.txt
|
||
|
|
||
|
- name: MkDocs gh-deploy
|
||
|
run: |
|
||
|
git pull
|
||
|
mkdocs gh-deploy
|