Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
yudoubuyaohuise authored Jan 19, 2025
1 parent 3c79035 commit dc2062a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ name: "打卡"
# 明确触发条件
on:
workflow_dispatch: # 手动触发
schedule:
# 使用 UTC 时间,UTC 时间 对应 北京时间 -8 小时
- cron: "0 0 * * *" # UTC 00:00 / 北京时间 08:00
- cron: "0 1 * * *" # UTC 01:00 / 北京时间 09:00
- cron: "0 9 * * *" # UTC 09:00 / 北京时间 17:00
- cron: "0 10 * * *" # UTC 10:00 / 北京时间 18:00
# schedule:
# # 使用 UTC 时间,UTC 时间 对应 北京时间 -8 小时
# - cron: "0 0 * * *" # UTC 00:00 / 北京时间 08:00
# - cron: "0 1 * * *" # UTC 01:00 / 北京时间 09:00
# - cron: "0 9 * * *" # UTC 09:00 / 北京时间 17:00
# - cron: "0 10 * * *" # UTC 10:00 / 北京时间 18:00

# 配置并发控制,避免任务重叠执行
concurrency:
Expand Down

0 comments on commit dc2062a

Please sign in to comment.