Skip to content

Custom domain gets deleted on deploy - CNAME not working #236

@whoisryosuke

Description

@whoisryosuke

I have an issue where each time I use gh-pages to deploy, my custom domain gets deleted. I tried adding a CNAME file to my project with the domain name, but it doesn't change anything. Each deploy I have to manually set the domain again.

I run gh-pages -d public when deploying.

You can see the project repo here:
https://github.com/whoisryosuke/ryosuke-gatsby-blog

Not sure if this is an issue with my stack (GatsbyJS) or the gh-pages lib.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions