Skip to content

SSPanel_Auto_Checkin #56

SSPanel_Auto_Checkin

SSPanel_Auto_Checkin #56

Workflow file for this run

name: SSPanel_Auto_Checkin
on:
workflow_dispatch:
push:
branches:
- master
schedule:
- cron: '20 18 * * *'
watch:
types:
- started
env:
TZ: Asia/Shanghai
USERS: ${{secrets.USERS}}
PUSH_KEY: ${{secrets.PUSH_KEY}}
PUSH_TURBO_KEY: ${{secrets.PUSH_TURBO_KEY}}
QMSG_KEY: ${{secrets.QMSG_KEY}}
DDBOT_TOKEN: ${{secrets.DDBOT_TOKEN}}
TELEGRAMBOT_TOKEN: ${{secrets.TELEGRAMBOT_TOKEN}}
TELEGRAMBOT_CHATID: ${{secrets.TELEGRAMBOT_CHATID}}
PUSHPLUS_TOKEN: ${{secrets.PUSHPLUS_TOKEN}}
WEWORK_ID: ${{secrets.WEWORK_ID}}
WEWORK_AGENT_ID: ${{secrets.WEWORK_AGENT_ID}}
WEWORK_SECRET: ${{secrets.WEWORK_SECRET}}
DISPLAY_CONTEXT: ${{secrets.DISPLAY_CONTEXT}}
ALIVE: ${{secrets.ALIVE}}
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout codes
uses: actions/checkout@v2
- name: Install depends
run: |
sudo apt-get update
sudo apt-get -y install curl jq
- name: Request API
run: |
bash ssp-autocheckin.sh