Closed scarroll32 closed 2 years ago
Awesome project, by the way 😄
Your repo looks like it’s missing a CNAME
file with the domain in it. Next time you set that, pull the branch and ensure it’s in source control so it persists between deploys.
Your repo looks like it’s missing a
CNAME
file with the domain in it. Next time you set that, pull the branch and ensure it’s in source control so it persists between deploys.
Thanks for your help @johlym I added the CNAME file but it's still wiping it out on pushes.
I guess this is a GitHub issue or somehow related to my domain / project config, so closing this.
I'm also experiencing this issue on deploy. I think there is an issue with the GitHub build script or I'm missing some sort of configuration.
I never ended up resolving this, just manually update the config after every deploy. 😢
I'm trying to move my deployment to render as @jaredcwhite seems to recommend it.
It's a pretty frustrating issue and I don't see anything in the docs to explain what else needs to be configured.
@scarroll32 @jmarsh24 I'm sorry this has been such a pain. I've created a new issue https://github.com/bridgetownrb/bridgetown/issues/614 to track updating our bundled configuration to support the new, officially sanctioned way of building arbitrary static content with any generator for hosting on Pages. In the meantime, I do think Render is the best (and still free!) alternative.
Bridgetown Version:
bridgetown 1.0.0 "Pearl"
To Reproduce
In my public repo I am using the example Bridgetown GitHub Actions workflow to deploy. It is all deploying OK, but for some reason the custom domain name is wiped out every time there is a deploy (I just re-add it manually). It seems to be very similar to this issue.
Current behaviour
Push to the repo and trigger CI -> the custom domain is removed from the Pages config.
Expected behaviour
Does not remove the domain.
Additional context I'm using Namecheap to manage the domain.