Add building docs to GitHub Actions for release
This commit is contained in:
parent
52ea5203ad
commit
39c6b9fdda
|
@ -7,7 +7,7 @@ on:
|
|||
|
||||
jobs:
|
||||
build-client:
|
||||
runs-on: [ubuntu-latest]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
@ -53,7 +53,7 @@ jobs:
|
|||
labels: ${{ steps.docker_meta.outputs.labels }}
|
||||
|
||||
build-server:
|
||||
runs-on: [ubuntu-latest]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
|
|
@ -18,6 +18,12 @@ jobs:
|
|||
id: setup_ffmpeg
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
name: Install mkdocs-material
|
||||
run: python3 -m pip install mkdocs-material
|
||||
-
|
||||
name: Build docs to /help
|
||||
run: mkdocs build -d help
|
||||
-
|
||||
name: Install PyOxidizer
|
||||
run: python3 -m pip install pyoxidizer
|
||||
|
@ -68,6 +74,12 @@ jobs:
|
|||
with:
|
||||
python-version: 3.8
|
||||
architecture: x64
|
||||
-
|
||||
name: Install mkdocs-material
|
||||
run: pip install mkdocs-material
|
||||
-
|
||||
name: Build docs to /help
|
||||
run: mkdocs build -d help
|
||||
#- name: Cache Qt
|
||||
# id: cache-qt
|
||||
# uses: actions/cache@v1
|
||||
|
@ -126,7 +138,7 @@ jobs:
|
|||
retention-days: 2
|
||||
|
||||
build-windows:
|
||||
runs-on: [windows-latest]
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
-
|
||||
name: Checkout
|
||||
|
@ -145,6 +157,12 @@ jobs:
|
|||
with:
|
||||
python-version: 3.8
|
||||
architecture: x64
|
||||
-
|
||||
name: Install mkdocs-material
|
||||
run: pip install mkdocs-material
|
||||
-
|
||||
name: Build docs to /help
|
||||
run: mkdocs build -d help
|
||||
-
|
||||
name: Cache Qt
|
||||
id: cache_qt
|
||||
|
|
|
@ -49,4 +49,7 @@ db/*.conf
|
|||
db/client_files/
|
||||
db/server_files/
|
||||
db/missing_and_invalid_files/
|
||||
|
||||
# docs builds
|
||||
site/
|
||||
help/
|
||||
|
|
Loading…
Reference in New Issue