tschaub/gh-pages

Deploying github pages overwrites custom domain

Tycholiz opened this issue · 4 comments

I have looked at these open issues already and have followed the advice, which is to create a CNAME file with the domain:

However, I must be missing something because the solution of adding CNAME file doesn't seem to work. I've even tried adding it in a few different places.

Here is my Pages setup:
image

So of my pages branch, I've tried adding the CNAME file with content tech.kyletycholiz.com into the root, and I've tried adding it to the docs/ folder, which as we can see from the image above, is the directory from which pages serves the content. I've even tried adding a static/ directory at the root, and throwing the CNAME file in there.

My repo is https://github.com/Tycholiz/Digital-Garden/tree/pages

Any ideas of what I'm missing here?

same issue

My issue was related to a third party library I was using. Upgrading to their latest version fixed the issue

Which third party library was it? I'm running into the same issue

Sorry should have been more clear in my closing comment. I'm using Dendron for automatic note publication. IIRC, Their script uses gh-pages as a dependency, so unless you're using Dendron this is unlikely to be of any consequence to you.