Scheduled deployments with pages?

Hey everyone, I'm wanting to update my 1 page website everyday at the same time. So far the best way I have thought of doing that is just re-deploying it. I want to somehow schedule these deploys. Is this possible at all in cloudflare? For instance, I would upload 7 deploys at the start of the week and schedule each one. The things that need to change are five pictures and one word buried in the code. Thanks for your help.
3 Replies
kev-ac
kev-ac14mo ago
You could create a Github Action (or similar if you don't use github) to modify the code every day to your liking. This will trigger a build for Pages if you have connected the project to your repo.
zchr
zchr14mo ago
Buildint on that I think you can even just trigger the deployment with a Deploy Hook - https://developers.cloudflare.com/pages/platform/deploy-hooks/ Just make the GH Action call the URL to rebuild
Deploy Hooks · Cloudflare Pages docs
With Deploy Hooks, you can trigger deployments using event sources beyond commits in your source repository. Each event source may obtain its own …
kev-ac
kev-ac14mo ago
I've understood it that way that he wants to have different versions of the website. That shouldn't be possible to do with a deploy hook
Want results from more Discord servers?
Add your server