Update documentation.yml

This commit is contained in:
Joey Xia 2025-01-02 17:35:23 +08:00 committed by GitHub
parent ff3c36a666
commit b1e639834c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,6 +17,9 @@ jobs:
- name: Sphinx build
run: |
sphinx-build docs/source docs/build
- name: Add CNAME
run: |
echo bge-model.com > docs/build/CNAME
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}