test 百度推送
This commit is contained in:
parent
31825299f4
commit
952987527f
|
|
@ -2,11 +2,15 @@
|
|||
|
||||
name: baiduPush
|
||||
|
||||
# 两种触发方式:一、push代码,二、每天国际标准时间23点(北京时间+8即早上7点)运行
|
||||
# 两种触发方式:一、push代码,二、每天国际标准时间23点(北京时间+8即早上7点)运行()
|
||||
# on:
|
||||
# push:
|
||||
# schedule:
|
||||
# - cron: '0 23 * * *' # https://help.github.com/en/actions/automating-your-workflow-with-github-actions/events-that-trigger-workflows#scheduled-events-schedule
|
||||
on:
|
||||
push:
|
||||
schedule:
|
||||
- cron: '0 23 * * *'
|
||||
- cron: '*/5 * * * *' # 每5分分钟一次,测试用
|
||||
|
||||
jobs:
|
||||
bot:
|
||||
runs-on: ubuntu-latest # 运行环境为最新版的Ubuntu
|
||||
|
|
|
|||
|
|
@ -3,10 +3,10 @@ name: CI
|
|||
#on: [push]
|
||||
|
||||
# 在master分支发生push事件时触发。
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
# on:
|
||||
# push:
|
||||
# branches:
|
||||
# - master
|
||||
|
||||
jobs: # 工作流
|
||||
build: # 自定义名称
|
||||
|
|
|
|||
Loading…
Reference in New Issue