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

weekly.dongyueweb.com is not updated automatically #175

Closed
3 tasks done
at15 opened this issue Dec 11, 2019 · 17 comments
Closed
3 tasks done

weekly.dongyueweb.com is not updated automatically #175

at15 opened this issue Dec 11, 2019 · 17 comments

Comments

@at15
Copy link
Member

at15 commented Dec 11, 2019

TODO

image

cc @gaocegege

@at15 at15 changed the title weekly.dongyueweb.com is no longer updated weekly.dongyueweb.com is not updated automatically Dec 11, 2019
@at15
Copy link
Member Author

at15 commented Dec 11, 2019

Can we switch to netlify? I guess that way we don't need to run jekyll manually

@gaocegege
Copy link
Member

Sure, I think we can.

@at15
Copy link
Member Author

at15 commented Dec 18, 2019

@gaocegege https://dyweb-weekly.netlify.com/ is already taken ... I suppose it is you? Though the content is still outdated ...

@at15
Copy link
Member Author

at15 commented Dec 18, 2019

Use the following setting and https://dyweb-weekly.netlify.com/ is up to date

image

@ComMouse
Copy link
Member

ComMouse commented Dec 19, 2019

How could the redirect be done? Using CNAME or just 301? I did not see any 301 options available for the DNS server so I guess more settings need to be done on the Netlify side.

I have just added a CNAME record for weekly2.dongyueweb.com and am not sure if it works. If you need any additional modification please let me know then.

Also, the weekly repo is bound to weekly.dongyueweb.com so GitHub servers will handle redirect automatically.

@at15
Copy link
Member Author

at15 commented Dec 19, 2019

@ComMouse I think it's CNAME, let me check my netlify setup for at15.me, I was using gh then switched to netlify so the process should be same

@at15
Copy link
Member Author

at15 commented Dec 19, 2019

The main problem is the docs folder is no longer updated, netlify generate the updated content on the fly when there is a new version and does not push back to the origin repo.

Netlify uses CNAME unless we use its DNS for entire domain.

weekly CNAME dyweb-weekly.netlify.com

http://weekly2.dongyueweb.com/ shows not found for me, it does point to a netlify server based on response header

@ComMouse
Copy link
Member

@at15 That was weird. I'll have a double check if the DNS settings went wrong. I think it was the same CNAME record I added though.

@ComMouse
Copy link
Member

ComMouse commented Jan 7, 2020

I have changed the weekly.dongyuweb.com to the Netlify CNAME record and will wait to see if it works within 24 hrs.

@at15
Copy link
Member Author

at15 commented Jan 7, 2020

手动给豆点赞

@ComMouse
Copy link
Member

ComMouse commented Jan 7, 2020

It seems working now except the SSL certificate is in *.netlify.com domain.

@at15
Copy link
Member Author

at15 commented Jan 7, 2020

@ComMouse it seems there is no good way to fix it ... though I am working on something similar to sync gh-pages w/ netlify xephonhq/awesome-time-series-database#72

@ComMouse
Copy link
Member

ComMouse commented Jan 7, 2020

Hope this link would help

@at15
Copy link
Member Author

at15 commented Jan 7, 2020

I think we need to generate key pair using let's encrypt and upload it to netlify ...

@ComMouse
Copy link
Member

ComMouse commented Jan 7, 2020

I am not familiar with Netlify but from my experiences with GitHub pages usually resetting domain settings (like turn it off and turn if on or rename the domain name and then back) will force the service provider to regenerate ssl certificates and hopefully everything will just work with multiple tries lol

@at15
Copy link
Member Author

at15 commented Jan 10, 2020

It seems netlify domain are blocked on wechat browser, so we might just switch back to using github pages, with github action it should be easy. I'll try that when I have time

@ComMouse
Copy link
Member

Issue Closed and Moved to #184

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants