### Discussed in https://github.com/quarto-dev/quarto-cli/discussions/3249

<div type='discussions-op-text'>

<sup>Originally posted by **jmgirard** November  8, 2022</sup>
I am hosting a Quarto website on Github Pages using the "docs" method. I have a custom domain and thus need to have a `docs/CNAME` file in my project. However, it seems that quarto is removing this file whenever I render via `quarto render`. Is there a way to tell quarto to keep this CNAME file? I tried the `website: site-url` option but that didn't seem to do it.</div>


This is also from https://github.com/quarto-dev/quarto-actions/issues/73 
cwickham
2023-03-24T10:16:55Z
cderv
documentation
v1.4
open
Document how to setup custom domain on Github Pages when using `quarto publish gh-pages`
https://github.com/quarto-dev/quarto-cli/issues/4941