-
Notifications
You must be signed in to change notification settings - Fork 190
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gh-pages -d dist overwrites custom domain #127
Comments
Seems like adding
|
I noticed that create-react-app was removing the CNAME from the /build folder and solved it like this: Also noticed that if you add the CNAME file inside the |
Had the same issue with GatsbyJS. Putting the CNAME file into the static folder solved it. |
Using this helpful tip: tschaub/gh-pages#127 (comment)
I was facing the same issue and solved it with the following scripts within
|
I'm having the same issue with a Lerna repository + Docusaurus publishing via wrapper on https://github.com/microsoft/fast-dna which has my CNAME file inside the root of the project. Though, I'm starting to think it actually needs to be in the root of what gh-pages sees as the branch, so I will try this next. |
For angular 8. |
I had the same issue with Gatsby, so I added the |
File CNAME must be present in root dir tschaub/gh-pages#127
…main Using github.com/tschaub/gh-pages/issues/127 as clue
Create CNAME for custom domains as per [this thread](tschaub/gh-pages#127 (comment)).
Create CNAME for custom domains as per [this thread](tschaub/gh-pages#127 (comment)).
When I use my npm script like so
My custom domain is overwritten by
gh-pages
to be my default Github Pages project domain. I have to go into my Github project settings and make the domain my custom domain every time.The text was updated successfully, but these errors were encountered: