Skip to content

Commit 04b201b

Browse files
authored
Fix cron schedule for automated sync and build (#87)
* Fix cron schedule for sync and build * Update cron tab descriptions in testflight.md * Fix typo in comment
1 parent d65d6fe commit 04b201b

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/build_loop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
schedule:
1010
- cron: '0 8 * * 3' # Checks for updates at 08:00 UTC every Wednesday
11-
- cron: '0 8 1 * 6' # Builds the app on the 1st Saturday every month at 08:00 UTC
11+
- cron: '0 6 1 * *' # Builds the app on the 1st of every month at 06:00 UTC
1212

1313
env:
1414
UPSTREAM_REPO: LoopKit/LoopWorkspace
@@ -162,7 +162,7 @@ jobs:
162162
if: | # runs if started manually, or if sync schedule is set and enabled and scheduled on the first Saturday each month, or if sync schedule is set and enabled and new commits were found
163163
github.event_name == 'workflow_dispatch' ||
164164
(needs.check_alive_and_permissions.outputs.WORKFLOW_PERMISSION == 'true' &&
165-
(vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '0 8 1 * 6') ||
165+
(vars.SCHEDULED_BUILD != 'false' && github.event.schedule == '0 6 1 * *') ||
166166
(vars.SCHEDULED_SYNC != 'false' && needs.check_latest_from_upstream.outputs.NEW_COMMITS == 'true' )
167167
)
168168
steps:

fastlane/testflight.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ These instructions allow you to build Loop without having access to a Mac.
1111
>
1212
> This new version of the browser build **defaults to** automatically updating and building a new version of Loop according to this schedule:
1313
> - automatically checks for updates weekly on Wednesdays and if updates are found, it will build a new version of the app
14-
> - automatically builds once a month regardless of whether there are updates on the first Saturday of the month
14+
> - automatically builds once a month regardless of whether there are updates on the first of the month
1515
> - with each scheduled run (weekly or monthly), a successful Build Loop log appears - if the time is very short, it did not need to build - only the long actions (>20 minutes) built a new Loop app
1616
>
1717
> It also creates an alive branch, if you don't already have one. See [Why do I have an alive branch?](#why-do-i-have-an-alive-branch).
@@ -262,8 +262,8 @@ Note that the weekly and monthly Build Loop actions will continue, but the actio
262262
Your build will run on the following conditions:
263263
- Default behaviour:
264264
- Run weekly, every Wednesday at 08:00 UTC to check for changes; if there are changes, it will update your repository and build
265-
- Run monthly, every first Saturday of the month at 08:00 UTC, if there are changes, it will update your repository; regardless of changes, it will build
265+
- Run monthly, every first of the month at 06:00 UTC, if there are changes, it will update your repository; regardless of changes, it will build
266266
- Each time the action runs, it makes a keep-alive commit to the `alive` branch if necessary
267267
- If you disable any automation (both variables set to `false`), no updates, keep-alive or building happens when Build Loop runs
268-
- If you disabled just scheduled synchronization (`SCHEDULED_SYNC` set to`false`), it will only run once a month, on the first Saturday of the month, no update will happen; keep-alive will run
268+
- If you disabled just scheduled synchronization (`SCHEDULED_SYNC` set to`false`), it will only run once a month, on the first of the month, no update will happen; keep-alive will run
269269
- If you disabled just scheduled build (`SCHEDULED_BUILD` set to`false`), it will run once weekly, every Wednesday, to check for changes; if there are changes, it will update and build; keep-alive will run

0 commit comments

Comments
 (0)