Hi have the gh page https://robertobatts.github.io/ and I want to redirect it to http://www.robertobattaglia.com/.
The problem is that the user page must be built from master. So I’m pushing the react app on the branch ‘develop’ and then I run the scripts to deploy the build to master
npm run build gh-pages -b master -d build
When I do this the master branch is overridden with the build and the CNAME file is deleted, so my page is not redirecting to my custom domain.
What can I do to keep the CNAME file?