Move Online Doc Build to Release Workflow

The build process for the online documentation site has not changed, it was just moved to the Release workflow so it will be a little more stable.
This commit is contained in:
Wayne Warthen
2025-06-02 13:52:37 -07:00
parent 4f25b011e1
commit 1b2f452373
4 changed files with 17 additions and 17 deletions

View File

@@ -52,6 +52,21 @@ jobs:
title: "${{env.TITLE}} ${{github.ref_name}}"
files: |
RomWBW-${{github.ref_name}}-Package.zip
- name: Build Docs
run: |
export TZ='America/Los_Angeles'
sudo apt-get install gpp pandoc
pip install mkdocs
make -C Source/Doc deploy_mkdocs
mkdocs build -f Source/Doc/mkdocs.yml
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
if: github.ref == 'refs/heads/master'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: Source/Doc/site
# - name: Upload Package Archive
# uses: AButler/upload-release-assets@v2.0.2