mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Docs - Auto-rebuilds docs when there are changes in docs folder
This commit is contained in:
parent
7f5e158fd8
commit
3ad3a6e02f
1 changed files with 24 additions and 0 deletions
24
.github/workflows/deploy-docs.yml
vendored
Normal file
24
.github/workflows/deploy-docs.yml
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
name: Deploy Docs
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
paths:
|
||||
- docs/**
|
||||
|
||||
defaults:
|
||||
run:
|
||||
working-directory: docs
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.x
|
||||
- run: pip install --upgrade pip
|
||||
- run: pip install --upgrade setuptools wheel
|
||||
- run: pip install mkdocs mkdocs-material pymdown-extensions
|
||||
- run: mkdocs gh-deploy --force
|
Loading…
Reference in a new issue