Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
akanksha1131 committed Apr 20, 2024
1 parent 9c3ea09 commit d780d84
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ name: Run Scripts
on:
schedule:
# Run newday.py every day.
- cron: '0 13 * * *'
# Run update_BoW.py on the 1st of every month
- cron: '25 13 * * *'
- cron: '3 13 * * *'
# Run update_BoW.py every day
- cron: '45 13 * * *'

jobs:
build:
Expand All @@ -32,8 +32,8 @@ jobs:
- name: Execute newday.py
run: python project/newday.py

- name: Execute update_BoW.py (only on the 1st of every month)
if: ${{ github.event_name == 'schedule' && github.event.cron == '0 19 1 * *' }}
- name: Execute update_BoW.py (every day)
if: ${{ github.event_name == 'schedule' && github.event.cron == '25 13 * * *' }}
run: python update_BoW.py

- name: Commit files
Expand Down

0 comments on commit d780d84

Please sign in to comment.