Skip to content
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

cname keeps getting wiped out #33

Open
boozedog opened this issue Apr 23, 2023 · 1 comment
Open

cname keeps getting wiped out #33

boozedog opened this issue Apr 23, 2023 · 1 comment

Comments

@boozedog
Copy link

Each time I publish my site, I have to re-configure my custom domain in GitHub Pages.

Am I missing something?

@Lix1993
Copy link

Lix1993 commented Jun 21, 2023

https://www.mkdocs.org/user-guide/deploying-your-docs/

So that the file does not get removed the next time you deploy, you need to copy the file to your docs_dir. With the file properly included in your docs_dir, MkDocs will include the file in your built site and push it to your "pages" branch each time you run the gh-deploy command.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants