modified: .github/workflows/cd.yml

This commit is contained in:
Loup-Garou911XD 2024-03-07 12:53:13 +05:30
parent 77e3c21d77
commit f36d157d9e

View File

@ -4,6 +4,7 @@ on:
# Run on pushes and pull-requests
push:
pull_request:
jobs:
make_linux_x86_64_gui_debug_build:
@ -206,3 +207,25 @@ jobs:
with:
name: windows_x86_server_(debug)
path: build/prefab/full/windows_x86_server
make_sphinx_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.11'
# Remove this once we upgrade to 3.12.
- name: Install typing_extensions (temp)
run: python3.11 -m pip install typing_extensions
- name: Install sphinx
run: python3.11 -m pip install sphinx sphinx-rtd-theme
- name: Install pip requirements
run: tools/pcommand install_pip_reqs
- name: Make the build
run: make docs-sphinx
- name: Upload the build
uses: actions/upload-artifact@v3
with:
name: sphinx_html_docs
path: build/docs_sphinx_html