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

Support Custom Domain Configuration via CNAME file #3

Open
fingers10 opened this issue Jul 9, 2022 · 0 comments
Open

Support Custom Domain Configuration via CNAME file #3

fingers10 opened this issue Jul 9, 2022 · 0 comments

Comments

@fingers10
Copy link

Hi @jsakamoto ,

It will be great if this package supports a way to add configuration to enable custom domain via CNAME file while publishing.

For Example,
In .csproj,
<CNAME>ilovedotnet.org</CNAME>

When CNAME property is given it should override GHPagesBase as <GHPagesBase>/</GHPagesBase> and generate CNAME file in the publish output with domain name as its content.

CNAME file in Publish Output:
image

Content of CNAME file:
image

This will help to setup custom domain easily.

Please can you share your inputs on this?

Thanks,
@fingers10

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

1 participant