mailcow-dockerized-docs/.github/workflows/gh-deploy.yml
2022-02-02 18:07:05 +01:00

31 Zeilen
612 B
YAML

name: gh-deploy
on:
push:
branches:
- master
jobs:
build:
name: MkDocs Github Pages automatic deployment
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v2
with:
fetch-depth: 0
- 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