-
Notifications
You must be signed in to change notification settings - Fork 11.4k
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
custom domain becomes blank after each deploy #130
Comments
I had the same issue. You have to add the CNAME file to your master branch (check in your gh-pages branch to see its content). By default when you add a custom domain, github adds the CNAME file to your gh-pages branch, which gets overwritten by the build from your master branch). |
e.g,. cat CNAME |
Hi, thanks for the awesome work. I realize this is a closed issue, but I noticed that the deploy action located in I can confirm that committing a CNAME file to |
@rsonger I'm getting the same thing In my |
I am using the theme to host my page on a custom domain. So the custom domain redirects to the github page. However, every time I deploy, my custom domain setting under github pages becomes empty and I have to reset it back to my domain (see image).
I thought I have to set some fields in the _config file, but nothing seemed to retain the custom domain name.
Thank you for the great work!
The text was updated successfully, but these errors were encountered: