-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
Closed
Labels
closed: questionThis issue is a user error/misunderstanding.This issue is a user error/misunderstanding.
Description
🐛 Bug Report
If you deploy to GitHub pages with a custom domain, the custom domain will be removed from the repository settings and you need to re-add it after every deploy.
Have you read the Contributing Guidelines on issues?
Yes I did.
To Reproduce
- In your GitHub repository settings,
configure a custom domain for GitHub pages - In
docusaurus.config.js, seturlto your custom domain, with/asbaseUrl - Follow the Deployment guide for GitHub pages
- Run
yarn deploy
Expected behavior
It should deploy the site at the custom domain and not modify the repository settings
Actual Behavior
It deploys the site at the default github.io domain, if you go back to the GitHub repository settings you can notice the custom domain was removed, you need to manually re-add it.
Your Environment
Docusaurus v2.0.0-alpha.70
Reproducible Demo
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
closed: questionThis issue is a user error/misunderstanding.This issue is a user error/misunderstanding.