haypho / smite

Next.js project utilizing the Smite API
https://hphothong.github.io/smite
1 stars 1 forks source link

Add schedule to run ci/cd daily #3

Closed haypho closed 1 year ago

haypho commented 1 year ago

Create a schedule to run the ci/cd workflow daily. To avoid peak times in the app and GitHub actions we should use an obscure time like 3:54 AM UTC (counts down in the cron syntax). This is required to keep the Smite API credentials valid.

Cron syntax: '54 3 * * *'

https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#schedule

haypho commented 1 year ago

Added the configuration to the GitHub workflow. I will verify the job runs tomorrow before closing this ticket.

haypho commented 1 year ago

Appears to be deploying correctly now.