abhijithvijayan / ghost-on-github-pages

💻⏰ Ghost on Github Pages. Build and deploy Ghost for free in a few minutes.
https://abhijithvijayan.github.io/ghost-blog-demo/
Apache License 2.0
52 stars 13 forks source link

Custom Domain setting #32

Open MironChen opened 4 years ago

MironChen commented 4 years ago

Hi, it's me again.

According to your deploy.sh , I can only deploy to username.github.io. However, as long as I deploy for the next time, even though I have set a custom domain in Github, it will insist on username.github.io.

I wonder what should I change.

Thanks a lot.

pavlenex commented 4 years ago

Here's what I tried and it worked for me. Instead github pages, yourdomain.github.io I created a regular repostirory where I deployed everything. Then I simply connected to Netifly where I configured my DNS and it worked. I am checking if building process is automatic and if I have to do something more.

pavlenex commented 4 years ago

Yup can confirm netlify + this works amazing with custom domain and there's no configuration needed regarding building, it's just a few clicks defaults.

abhijithvijayan commented 4 years ago

Yeah, I have migrated my projects from GitHub pages to Netlify some time ago. Never looked back.

The whole aim of the project is to deploy the dynamic blog as a static one and host without charges(with custom domain and other features).

Like @pavlenex said, Use Nelify to deploy the static page.

abhijithvijayan commented 4 years ago

With netlify I see this error Deployed filenames cannot contain # or ? characters for the 'assets/built/custom.css?v=536fdc0854.css' entry

@pavlenex Did you have any issues while building with Netlify?

pavlenex commented 4 years ago

Hey @abhijithvijayan It didn't. It worked well for me. Worked exactly as you described above. Unfortunately I'm not sure how I can help besides that, quite new to all this. Let me know if there's something I can do to help reproduce though.

abhijithvijayan commented 4 years ago

Never mind. It's the netlify that stopping the build process.

?version query param is added for cache busting.

Probably have to figure out another way to make it work with Netlify.