Skip to content
This repository was archived by the owner on Jan 9, 2026. It is now read-only.

Commit 9445a67

Browse files
adding CNAME file to build output for custom docs domain
This PR adds CNAME file to the build artifact via the workflow, allowing GitHub Pages to serve the documentation from the new, shorter URL.
2 parents f13124c + a2ce843 commit 9445a67

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/sphinx-deploy.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ jobs:
2929
run: |
3030
sphinx-build -W -b html docs/ build
3131
32+
- name: Create CNAME file
33+
run: echo "docs.granitecode.ai" > build/CNAME
34+
3235
- name: Upload documentation artifact
3336
uses: actions/upload-pages-artifact@v3
3437
with:

0 commit comments

Comments
 (0)