File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,8 +2,8 @@ name: cloudflare-pages-deploy
22
33on :
44 schedule :
5- # Twice daily: 01 :00 UTC (09 :00 Beijing) and 13 :00 UTC (21 :00 Beijing )
6- - cron : ' 0 1,13 * * *'
5+ # Hourly from 09 :00 to 02 :00+1 Beijing (01 :00–18 :00 UTC )
6+ - cron : ' 0 1-18 * * *'
77 workflow_dispatch :
88
99concurrency :
Original file line number Diff line number Diff line change @@ -323,8 +323,8 @@ interface UpdateSchedule {
323323 countdownMinutes : number | null ;
324324}
325325
326- /** Schedule times in UTC hours: 01:00 and 13 :00 UTC (09:00 and 21 :00 Beijing) */
327- const SCHEDULE_HOURS_UTC = [ 1 , 13 ] as const ;
326+ /** Schedule times in UTC hours: 01:00–18 :00 (09:00–02 :00+1 Beijing, hourly ) */
327+ const SCHEDULE_HOURS_UTC = Array . from ( { length : 18 } , ( _ , i ) => i + 1 ) ;
328328
329329function buildUpdateSchedule ( referenceTime : Date ) : UpdateSchedule {
330330 const nextUpdate = getNextScheduledTime ( referenceTime ) ;
@@ -499,7 +499,7 @@ function UpdateScheduleCard({
499499 < div >
500500 < p className = "text-sm font-medium text-foreground" > Next refresh</ p >
501501 < p className = "text-[11px] uppercase tracking-[0.25em] text-muted-foreground/55" >
502- 12h cron
502+ 1h cron
503503 </ p >
504504 </ div >
505505 < p className = "text-right text-sm text-foreground" >
You can’t perform that action at this time.
0 commit comments