Skip to content
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

why change my custom domain #347

Closed
siria55 opened this issue Apr 6, 2020 · 2 comments · Fixed by #533
Closed

why change my custom domain #347

siria55 opened this issue Apr 6, 2020 · 2 comments · Fixed by #533

Comments

@siria55
Copy link

siria55 commented Apr 6, 2020

I have set a custom domain for my gh pages.
BUT every time I run npm run deploy, the gh page repo's domain is set back to default
Is there any way to avoid this, otherwise I have to stop to use this package, for I want to keep my custom domain

@siria55
Copy link
Author

siria55 commented Apr 6, 2020

I solved this problem by putting CNAME inside public folder.

@philbarr
Copy link

I had the same problem and I'm using webpack so I used the very handy https://github.com/lozinsky/cname-webpack-plugin.
Would be nice as a feature in gh-pages at some point possibly.

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 a pull request may close this issue.

2 participants