Skip to content

Cloud check in action #208

Cloud check in action

Cloud check in action #208

Workflow file for this run

name: Cloud check in action
on:
push:
branches:
- main
watch:
types: started
schedule:
- cron: 42 5 * * *
jobs:
build-and-deploy:
runs-on: ubuntu-latest
environment: user
steps:
- uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 14
- name: init
run: npm install
- name: run
id: run
uses: nick-fields/retry@v2
env:
TY_USER_NAME: ${{secrets.TY_USER_NAME}}
TY_PASSWORD: ${{secrets.TY_PASSWORD}}
TY_USER_NAME1: ${{secrets.TY_USER_NAME1}}
TY_PASSWORD1: ${{secrets.TY_PASSWORD1}}
TY_USER_NAME2: ${{secrets.TY_USER_NAME2}}
TY_PASSWORD2: ${{secrets.TY_PASSWORD2}}
TY_USER_NAME3: ${{secrets.TY_USER_NAME3}}
TY_PASSWORD3: ${{secrets.TY_PASSWORD3}}
TY_USER_NAME4: ${{secrets.TY_USER_NAME4}}
TY_PASSWORD4: ${{secrets.TY_PASSWORD4}}
# Server
SENDKEY: ${{secrets.SENDKEY}}
# Telegram
TELEGRAM_BOT_TOKEN: ${{secrets.TELEGRAM_BOT_TOKEN}}
TELEGRAM_CHAT_ID: ${{secrets.TELEGRAM_CHAT_ID}}
# WecomBot
WECOM_BOT_KEY: ${{secrets.WECOM_BOT_KEY}}
WECOM_BOT_TELPHONE: ${{secrets.WECOM_BOT_TELPHONE}}
# WxPusher
WX_PUSHER_APP_TOKEN: ${{secrets.WX_PUSHER_APP_TOKEN}}
WX_PUSHER_UID: ${{secrets.WX_PUSHER_UID}}
with:
timeout_minutes: 8
max_attempts: 3
command: npm start