This is a Feature Request
What would you like to be added
Trigger a site build via the Netlify API every _n_ hours
Why is this needed
Scheduled builds enable other features, including:
Comments
Based on an idea mentioned in https://github.com/kubernetes-sigs/contributor-site/issues/160 (which suggested triggering a build using a GitHub Action)
/kind feature
@kbhawkey @onlydole I would welcome your thoughts on this and whether we should prioritize it / deprioritize it.
I'm in favor of this, both in creating and prioritizing. I see a lot of value in using this for link checking or other similar tooling.
Another thing scheduled builds ties into well: a shortcode to fetch from other repos (a bit like a Git submodule, but fetched at render time and tied specifically to GitHub).
See https://github.com/kubernetes-sigs/contributor-site/issues/93#issuecomment-583648843 for an example.
I鈥檓 in favor of using this as well.
Hi. Some things to think about:
Future-dated blog articles that publish automatically? How would this work?How would these periodic jobs be scheduled with/into the existing workflow?
After adding periodic triggers, either of the following would trigger deploying https://kubernetes.io/
Do you want a way to trigger a new PR/update content when the release repo/site publishes updated information (patch updates)?
That sounds like a different feature. Scheduled builds would reduce the window between a depended-on artifact changing and that being reflected on the live Kubernetes websites.
Creating a periodic job to check the site's links seems to be a different type of job. The site's content is not updated.
The job could run occasionally and report the results from running the current link checker. This seems lower priority because the link checker can be run locally and authors can update the content. There is no need to wait for a report or reminder of link problems.
Yes, it's not as valuable as the blog publishing or the automatic updating based on external sources.
https://k8s.dev/ is an example of a site that publishes blog articles automatically.
There are 3 steps.
Based on https://github.com/kubernetes/website/issues/24351#issuecomment-703034919
/triage accepted
/priority important-longterm
@sftim: The label(s) triage/accepts cannot be applied, because the repository doesn't have them
In response to this:
Based on https://github.com/kubernetes/website/issues/24351#issuecomment-703034919
/triage accepts
/priority important-longterm
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.
/triage accepted
Most helpful comment
@kbhawkey @onlydole I would welcome your thoughts on this and whether we should prioritize it / deprioritize it.