Skip to content

Auto

Auto #79

Workflow file for this run

name: Auto
on:
schedule:
- cron: "30 23 * * *" # 北京时间上午07:30
workflow_dispatch:
env:
COOKIE: ${{ secrets.COOKIE }}
COOKIE_2: ${{ secrets.COOKIE_2 }}
COOKIE_3: ${{ secrets.COOKIE_3 }}
COOKIE_4: ${{ secrets.COOKIE_4 }}
COOKIE_5: ${{ secrets.COOKIE_5 }}
EMAIL_USER: ${{ secrets.EMAIL_USER }}
EMAIL_PASS: ${{ secrets.EMAIL_PASS }}
EMAIL_TO: ${{ secrets.EMAIL_TO }}
DINGDING_WEBHOOK: ${{ secrets.DINGDING_WEBHOOK }}
PUSHPLUS_TOKEN: ${{ secrets.PUSHPLUS_TOKEN }}
WEIXIN_WEBHOOK: ${{ secrets.WEIXIN_WEBHOOK }}
SERVERPUSHKEY: ${{ secrets.SERVERPUSHKEY }}
FEISHU_WEBHOOK: ${{ secrets.FEISHU_WEBHOOK }}
jobs:
CheckIn:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- name: Run Project
uses: nick-invision/retry@v2
with:
timeout_minutes: 30
max_attempts: 3
retry_on: error
command: |
cd workflows
yarn
yarn checkin
# SeaGold:
# needs: CheckIn
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v2
# - name: Run Project
# uses: nick-invision/retry@v2
# with:
# timeout_minutes: 10
# max_attempts: 3
# retry_on: error
# command: |
# cd workflows
# yarn
# yarn seagold