Skip to content

Commit 0949fef

Browse files
committed
fix(ci): inject CNAME conditionally; remove from static assets
docs/static/CNAME was copied unconditionally into every build, so fork deployments claimed docs.mellea.ai as their custom domain. Remove the file from static/ and inject it via peaceiris cname: input only on upstream (generative-computing/mellea). Forks serving from their own GitHub Pages URL are unaffected. Assisted-by: Claude Code
1 parent d08289b commit 0949fef

2 files changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/docs-publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ jobs:
266266
publish_branch: gh-pages
267267
publish_dir: docs-site/
268268
force_orphan: true
269+
cname: ${{ github.repository == 'generative-computing/mellea' && 'docs.mellea.ai' || '' }}
269270
user_name: "github-actions[bot]"
270271
user_email: "github-actions[bot]@users.noreply.github.com"
271272
commit_message: |

docs/static/CNAME

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)