Skip to content

Commit

Permalink
feat: schedule cron to run on workdays.
Browse files Browse the repository at this point in the history
  • Loading branch information
BruceWind committed Dec 2, 2023
1 parent 71105b4 commit f8868a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/daily-cron-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:
schedule:
- # daily job at 01:00 with UTC time
cron: "0 1 * * *"
cron: "0 1 * * 1-5"

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand Down Expand Up @@ -35,4 +35,4 @@ jobs:
- name: Recording
run: |
npm install --global yarn && yarn install
node .
node .

0 comments on commit f8868a9

Please sign in to comment.