Deploy webhook / timer
evgrekov
PROOP

2 years ago

Hello! I have a static website built with Astro JS. I want it to automatically redeploy every day using GitHub Actions (or cron, or some kind of timer), as while deploy it fetches some new data to display daily. I don't want to build an SSR app just for that feature. How do I do it with Railway? Big thanks!

3 Replies

brody
EMPLOYEE

2 years ago

Hey, this template should do exactly what you need - https://railway.app/template/fwH-l3

Please read it's overview.


evgrekov
PROOP

2 years ago

It's a bit more complicated than just a "Rebuild Schedule" button in the project settings, but I will try it and I'm very thankful to you for your help and fast response. Best


brody
EMPLOYEE

2 years ago

Yeah unfortunately there is no native way to rebuild a long running service on a schedule and that exactly why I made the template.


Loading...