Run daily at night time

This commit is contained in:
Nemo 2022-04-28 11:23:33 +05:30
parent df0fdec2da
commit af6ad14045
1 changed files with 5 additions and 4 deletions

View File

@ -1,11 +1,12 @@
name: Update Data
on:
push:
# Run this on Sundays because NSDL won't add new things then
branches:
- main
schedule:
# 8:07 UTC every Sunday
# 13:37 IST every Sunday
- cron: '7 8 * * 0'
# 18:07 UTC every day
# 23:37 IST every day
- cron: '7 18 * * *'
jobs:
update:
name: Update data