can i schedule recurring re-deployments / re-builds?

I'm using Hugo > GitHub > CF Pages. One of the great features about Hugo is the ability to set up and QC posts for the future. In order for these future posts to be visible, it looks like I need to re-deploy the CF Page after the date of the blog post. I confirmed this manually - these two builds run from the same commit, but the second one shows the additional blog post with the publish date set to be a time in between the two builds. There must be a way to re-deploy on a specific schedule. (CF Pages Cron job.) I would appreciate your advice!
No description
3 Replies
rawwerks
rawwerksOP17mo ago
i'm seeing the "Deploy hooks", which i guess i could set up cron or Zapier or IFTTT to ping on a schedule. i'm curious if there is something equivalent built into GitHub Actions or CF Workers/Pages. (i'd rather not add an outside dependency if i don't have to.)
rawwerks
rawwerksOP17mo ago
found this suggestion from @skye_31 in #pages-discussions : https://futurestud.io/tutorials/github-actions-trigger-builds-on-schedule-cron , but would still appreciate advice on the best workflow. the advice ~2.5 years ago was to cron an empty commit to trick CF Pages into redeploying on schedule. is this still the best solution?
GitHub Actions — Trigger Builds on Schedule (Cron)
Future Studio provides on-demand learning & wants you to become a better Android (Retrofit, Gson, Glide, Picasso) and Node.js/hapi developer!
rawwerks
rawwerksOP17mo ago
Ok great, thank you for clarifying!
Want results from more Discord servers?
Add your server