Is adding a cron trigger to wrangler.toml enough?

I moved my Hugo site from Pages to Workers. CF docs recommends adding a cron trigger [triggers] to the wrangler.toml file. Is that enough? I set one for midnight.
2 Replies
MadDog
MadDogOP6mo ago
site rebuilds once a day. my site workflow is based on this example https://github.com/jmooring/hosting-cloudflare-worker
GitHub
GitHub - jmooring/hosting-cloudflare-worker: This is a test of host...
This is a test of hosting a Hugo site on a Cloudflare Worker - jmooring/hosting-cloudflare-worker
MadDog
MadDogOP6mo ago
I was actually using an external cron service to run the hooks in pages. But I don't see an option to create Deploy Hooks in workers

Did you find this page helpful?