Skip to content

Configure custom domain for GitHub Pages documentation#22

Merged
samuelduchesne merged 1 commit intomainfrom
claude/fix-docs-domain-reset-d4TEa
Mar 1, 2026
Merged

Configure custom domain for GitHub Pages documentation#22
samuelduchesne merged 1 commit intomainfrom
claude/fix-docs-domain-reset-d4TEa

Conversation

@samuelduchesne
Copy link
Copy Markdown
Contributor

Summary

This change configures a custom domain for the GitHub Pages deployment of the project documentation.

Key Changes

  • Added cname: docs.idfkit.com configuration to the GitHub Pages deployment step in the convert-docs workflow
  • This enables the documentation site to be served at the custom domain docs.idfkit.com instead of the default GitHub Pages URL

Implementation Details

The CNAME configuration is added to the actions/deploy-pages@v2 action, which automatically creates a CNAME file in the published directory pointing to the specified custom domain. This allows DNS configuration to route traffic from docs.idfkit.com to the GitHub Pages hosting.

https://claude.ai/code/session_01E1mVfKAyjMHCESBmwU3XiY

Add `cname: docs.idfkit.com` to the peaceiris/actions-gh-pages deploy
step. The `force_orphan: true` setting creates a fresh gh-pages branch
on every deploy, which drops the CNAME file and resets the custom domain.

https://claude.ai/code/session_01E1mVfKAyjMHCESBmwU3XiY
@samuelduchesne samuelduchesne merged commit a9431a7 into main Mar 1, 2026
3 of 4 checks passed
@samuelduchesne samuelduchesne deleted the claude/fix-docs-domain-reset-d4TEa branch March 1, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants