Skip to content

Commit

Permalink
♻️ Use constants for CI scheduling
Browse files Browse the repository at this point in the history
  • Loading branch information
AnandChowdhary committed Nov 28, 2020
1 parent 74dd5ce commit 8c78d77
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/workflows/graphs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name: Graphs CI
on:
schedule:
- cron: "0 0 * * *"
- cron: GRAPHS_CI_SCHEDULE
repository_dispatch:
types: [graphs]
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion src/workflows/response-time.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name: Response Time CI
on:
schedule:
- cron: "0 23 * * *"
- cron: RESPONSE_TIME_CI_SCHEDULE
repository_dispatch:
types: [response_time]
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion src/workflows/site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name: Static Site CI
on:
schedule:
- cron: "0 1 * * *"
- cron: STATIC_SITE_CI_SCHEDULE
workflow_dispatch:
jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion src/workflows/summary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name: Summary CI
on:
schedule:
- cron: "0 0 * * *"
- cron: SUMMARY_CI_SCHEDULE
repository_dispatch:
types: [summary]
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion src/workflows/update-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name: Update Template CI
on:
schedule:
- cron: "0 0 * * *"
- cron: UPDATE_TEMPLATE_CI_SCHEDULE
repository_dispatch:
types: [update_template]
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion src/workflows/updates.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name: Updates CI
on:
schedule:
- cron: "0 3 * * *"
- cron: UPDATES_CI_SCHEDULE
workflow_dispatch:
jobs:
release:
Expand Down
2 changes: 1 addition & 1 deletion src/workflows/uptime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
name: Uptime CI
on:
schedule:
- cron: "*/5 * * * *"
- cron: UPTIME_CI_SCHEDULE
workflow_dispatch:
jobs:
release:
Expand Down

0 comments on commit 8c78d77

Please sign in to comment.