Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
XavierPENROSE authored Oct 25, 2023
1 parent 9d7d7c1 commit 3910fe9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ name: ZeroTier+V2ray
# 1. 应当指定每个任务的持续时间和开始时间,例如设置 schedule.cron 属性让任务每个小时自动运行一次,每次运行时间 60分钟 (由 "Start V2ray" 中的 timeout-minutes 指定)
# 2. 应当确保 IP_ASSIGNMENT

on:
workflow_dispatch:
#on:
#workflow_dispatch:
# 取消注释以启用定时任务(默认每小时),具体生成可参考 https://www.freeformatter.com/cron-expression-generator-quartz.html
schedule:
- cron: '0 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 * * *'
#schedule:
#- cron: '0 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23 * * *'

jobs:
deploy:
Expand Down

0 comments on commit 3910fe9

Please sign in to comment.