forked from Ysnsn/mimotion
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run.yml
35 lines (31 loc) · 832 Bytes
/
run.yml
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
name: 刷步数
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
schedule:
- cron: 0 8 * * *
jobs:
build:
runs-on: ubuntu-latest
if: github.event.repository.owner.id == github.event.sender.id
steps:
- uses: actions/checkout@v2
- name: 初始化Python
uses: actions/setup-python@v2
with:
python-version: 3.7
- name: 开始
run: |
pip install requests
sckey='${{ secrets.SCKEY }}'
key='${{ secrets.KEY }}'
corpid='${{ secrets.CORPID }}'
corpsecret='${{ secrets.CORPSECRET }}'
user='${{ secrets.USER }}'
pwd='${{ secrets.PWD }}'
step='${{ secrets.STEP }}'
tgbotoken ='${{ secrets.TGBOTOKEN }}'
chatid ='${{ secrets.CHATID }}'
python3 main.py <<EOF