diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index f88e4998..9387c482 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -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 \ No newline at end of file