test 百度推送

This commit is contained in:
xugaoyi 2019-12-25 22:34:13 +08:00
parent 31825299f4
commit 952987527f
2 changed files with 11 additions and 7 deletions

View File

@ -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

View File

@ -3,10 +3,10 @@ name: CI
#on: [push]
# 在master分支发生push事件时触发。
on:
push:
branches:
- master
# on:
# push:
# branches:
# - master
jobs: # 工作流
build: # 自定义名称