mirror of
https://github.com/BOSWatch/BW3-Core.git
synced 2025-12-06 07:12:04 +01:00
Merge pull request #99 from janspeller/feature/gh-pages
Move to Github Pages for Documentation Deployment
This commit is contained in:
commit
790b944200
34
.github/workflows/build_docs.yml
vendored
34
.github/workflows/build_docs.yml
vendored
|
|
@ -3,17 +3,27 @@ name: build_docs
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
# - master
|
||||||
|
- develop
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
build_docs:
|
build_docs:
|
||||||
name: Build documentation
|
name: Build documentation
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
strategy:
|
||||||
|
matrix:
|
||||||
|
python-version: ['3.10']
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
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: Build doxygen
|
- name: Build doxygen
|
||||||
uses: mattnotmitt/doxygen-action@v1
|
uses: mattnotmitt/doxygen-action@v1
|
||||||
|
|
@ -21,19 +31,7 @@ jobs:
|
||||||
working-directory: './'
|
working-directory: './'
|
||||||
doxyfile-path: 'docu/doxygen.ini'
|
doxyfile-path: 'docu/doxygen.ini'
|
||||||
|
|
||||||
- name: Build mkdocs
|
- name: Install mkdocs
|
||||||
run: |
|
run: pip install mkdocs
|
||||||
python -m pip install --upgrade pip
|
- name: Build Docs and Deploy to Github Pages
|
||||||
pip install mkdocs
|
run: python -m mkdocs gh-deploy -f docu/mkdocs.yml --force
|
||||||
python -m mkdocs build -f docu/mkdocs.yml
|
|
||||||
|
|
||||||
- name: Upload to docs-server
|
|
||||||
uses: appleboy/scp-action@master
|
|
||||||
with:
|
|
||||||
host: ${{ secrets.SCP_HOST }}
|
|
||||||
port: ${{ secrets.SCP_PORT }}
|
|
||||||
username: ${{ secrets.SCP_USERNAME }}
|
|
||||||
password: ${{ secrets.SCP_PASSWORD }}
|
|
||||||
source: "docu/site/**"
|
|
||||||
target: ${{ secrets.SCP_TARGET_PATH }}
|
|
||||||
strip_components: 2
|
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,8 @@ nav:
|
||||||
- Plugins:
|
- Plugins:
|
||||||
- Http: plugin/http.md
|
- Http: plugin/http.md
|
||||||
- Telegram: plugin/telegram.md
|
- Telegram: plugin/telegram.md
|
||||||
|
- Divera: plugin/divera.md
|
||||||
|
- MySQL: plugin/mysql.md
|
||||||
- Entwickler:
|
- Entwickler:
|
||||||
- Eigenes Modul/Plugin schreiben: develop/ModulPlugin.md
|
- Eigenes Modul/Plugin schreiben: develop/ModulPlugin.md
|
||||||
- BOSWatch Alarmpaket Format: develop/packet.md
|
- BOSWatch Alarmpaket Format: develop/packet.md
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue