Skip to content

Commit 62f2468

Browse files
authored
modify build cron time (2 places)
1 parent 3f8ea32 commit 62f2468

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build_loop.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88

99
schedule:
1010
#- cron: '0 4 * * *' # Checks for updates at 04:00 UTC every day
11-
- cron: '5 0 * * *' # Checks for updates at 00:05 (UTC, 17:05 PDT)
12-
- cron: '0 4 1 * *' # Builds the app on the 1st every month
11+
- cron: '15 1 * * *' # Checks for updates at 01:15 (UTC, 18:15 PDT)
12+
#- cron: '0 4 1 * *' # Builds the app on the 1st every month
13+
- cron: '15 1 19 * *' # Builds the app on the 1st every month
1314

1415
env:
1516
UPSTREAM_REPO: LoopKit/LoopWorkspace
@@ -164,7 +165,7 @@ jobs:
164165
if: | # runs if started manually, or if sync schedule is set and enabled and scheduled on the first each month, or if sync schedule is set and enabled and new commits were found
165166
github.event_name == 'workflow_dispatch' ||
166167
(needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
167-
(vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '0 4 1 * *') ||
168+
(vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '15 1 19 * *') ||
168169
(vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' )
169170
)
170171
steps:

0 commit comments

Comments
 (0)