Closed raynamharris closed 2 years ago
this way, any change to config files with trigger the build, not just edits to issues
yep. I was actually thinking that a good default would be:
but I don't know how to do the first one :)
I don't expect the config file to change that frequently, tho, so this would mostly be of interest to developers, I suspect :).
i think you can do something like
on:
schedule:
- cron: "*/15 * * * *" # every 15 minutes. set to whatever interval you like
amanda uses 👇 in https://github.com/nih-cfde/published-documentation/blob/stable/.github/workflows/update_C2M2.yml for instance
on:
schedule:
- cron: '0 * * * *'
right, but doesn't tackle "if changed" though. want to avoid really regular building of the site with no changes!
currently, the workflow is only triggered on issues.
might be good to add on push as well