forked from Laosepy/sspanel-autocheckin-1
-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (39 loc) · 1.15 KB
/
work.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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