tschaub / gh-pages

General purpose task for publishing files to a gh-pages branch on GitHub
https://www.npmjs.com/package/gh-pages
MIT License
3.22k stars 190 forks source link

Clarify custom domain section of README #523

Open justingrant opened 11 months ago

justingrant commented 11 months ago

This PR extends and clarifies the "Deploying to GitHub Pages with a custom domain" section in the readme. It explains an alternate way to get the CNAME file into your build folder by using your existing build pipeline. For example, in React you can just commit the CNAME file into your public folder.

h/t @vittorio https://github.com/tschaub/gh-pages/issues/213#issuecomment-478248804