Add building docs to GitHub Actions for release

This commit is contained in:
Paul Friederichsen 2022-02-15 05:44:11 -06:00
parent 52ea5203ad
commit 39c6b9fdda
3 changed files with 24 additions and 3 deletions

View File

@ -7,7 +7,7 @@ on:
jobs: jobs:
build-client: build-client:
runs-on: [ubuntu-latest] runs-on: ubuntu-latest
steps: steps:
- -
name: Checkout name: Checkout
@ -53,7 +53,7 @@ jobs:
labels: ${{ steps.docker_meta.outputs.labels }} labels: ${{ steps.docker_meta.outputs.labels }}
build-server: build-server:
runs-on: [ubuntu-latest] runs-on: ubuntu-latest
steps: steps:
- -
name: Checkout name: Checkout

View File

@ -18,6 +18,12 @@ jobs:
id: setup_ffmpeg id: setup_ffmpeg
with: with:
token: ${{ secrets.GITHUB_TOKEN }} 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 name: Install PyOxidizer
run: python3 -m pip install pyoxidizer run: python3 -m pip install pyoxidizer
@ -68,6 +74,12 @@ jobs:
with: with:
python-version: 3.8 python-version: 3.8
architecture: x64 architecture: x64
-
name: Install mkdocs-material
run: pip install mkdocs-material
-
name: Build docs to /help
run: mkdocs build -d help
#- name: Cache Qt #- name: Cache Qt
# id: cache-qt # id: cache-qt
# uses: actions/cache@v1 # uses: actions/cache@v1
@ -126,7 +138,7 @@ jobs:
retention-days: 2 retention-days: 2
build-windows: build-windows:
runs-on: [windows-latest] runs-on: windows-latest
steps: steps:
- -
name: Checkout name: Checkout
@ -145,6 +157,12 @@ jobs:
with: with:
python-version: 3.8 python-version: 3.8
architecture: x64 architecture: x64
-
name: Install mkdocs-material
run: pip install mkdocs-material
-
name: Build docs to /help
run: mkdocs build -d help
- -
name: Cache Qt name: Cache Qt
id: cache_qt id: cache_qt

3
.gitignore vendored
View File

@ -49,4 +49,7 @@ db/*.conf
db/client_files/ db/client_files/
db/server_files/ db/server_files/
db/missing_and_invalid_files/ db/missing_and_invalid_files/
# docs builds
site/ site/
help/