You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whenever I publish the site, it overwrites the CNAME from the gh-pages branch, also it is not taking into account CNAME from the branch I am deploying, so with each deploy I have to manually add the CNAME which is time taking
The text was updated successfully, but these errors were encountered:
This is the intended functionality - the output of your build step is copied into your build directory, which will overwrite any file inside of it (not just CNAME). I encountered the same issue and found this section of the readme useful.
I ended up adding an extra step to my predeploy script in package.json, writing the file after the build step and before deployment: "predeploy": "yarn run build && echo your.website > dist/CNAME"
Hi,
Whenever I publish the site, it overwrites the CNAME from the gh-pages branch, also it is not taking into account CNAME from the branch I am deploying, so with each deploy I have to manually add the CNAME which is time taking
The text was updated successfully, but these errors were encountered: