Replies: 2 comments
-
Did you look at the Hugo documentation to Host on Github? |
Beta Was this translation helpful? Give feedback.
-
@israpps Yeah, as @kurt-krueckeberg says the deployment method for GitHub Actions is pretty similar for all static site generators. With Sphinx you just need to You can check out this pre-built GitHub action: https://github.com/marketplace/actions/sphinx-build Or you can just write your own GitHub action from scratch. I use GitLab to publish my docs, but the principals are the same: pages:
stage: build
image: python:3.10-slim-bullseye
script:
- pip install -r doc-requirements.txt
- cd docs && make html
- cp -r _build/html/* /public
artifacts:
paths:
- /public You can also use Read The Docs to publish your docs if you prefer. |
Beta Was this translation helpful? Give feedback.
-
as title says.
Can this be used via gh pages?
Beta Was this translation helpful? Give feedback.
All reactions