Skip to content

Commit

Permalink
chore: Add schedule for dev and production deploys (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshlarson authored Apr 18, 2024
1 parent 34b8ad2 commit 2af4d26
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/deploy-ecs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ on:
workflow_dispatch:
push:
branches: ["main"]
schedule:
# Runs every Monday and Thursday at 15:39 UTC, which is either
# 8:49 AM or 9:49 AM ET, depending on Daylight Savings Time. This
# is two hours before the prod deploy, so we can see how dev is
# doing before approving a prod deploy.
- cron: "49 13 * * 1,4"

jobs:
call-workflow:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@ name: Deploy to Prod

on:
workflow_dispatch:
push:
branches: ["main"]
schedule:
# Runs every Monday and Thursday at 15:39 UTC, which is either
# 10:49 AM or 11:49 AM ET, depending on Daylight Savings Time.
- cron: "49 15 * * 1,4"

jobs:
call-workflow:
Expand Down

0 comments on commit 2af4d26

Please sign in to comment.