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

Moving website generation and hosting #13

Closed
Themimitoof opened this issue May 30, 2023 · 2 comments
Closed

Moving website generation and hosting #13

Themimitoof opened this issue May 30, 2023 · 2 comments
Assignees

Comments

@Themimitoof
Copy link
Owner

Since we are not allowed anymore to use GitHub Actions to generate all feeds, build and upload the website, a new solution needs to be found.

Today's the solution is to host the script on a VM that runs periodically through a cron and a docker image #11 that will update the website every 4 hours (instead of every hour like before). For caching purposes, the website will be served via Cloudflare.

@Themimitoof
Copy link
Owner Author

Website up again and up-to-date:

λ nagoya ~ → curl -s https://genshin-feed.com/feed/rss-fr-all-articles.xml | grep pubDate | head -n1
      <pubDate>Fri, 26 May 2023 18:00:00 +0200</pubDate>
Screenshot 2023-05-30 at 11 07 09

Need to monitor the cron and add a probe to monitor if the feeds are always up-to-date.

@Themimitoof
Copy link
Owner Author

Cron is working and probe OK.

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