forked from JakeRyan888/GLaDOS_checkin_bak
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.yml
31 lines (29 loc) · 775 Bytes
/
config.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
name: 开始每日签到
on:
workflow_dispatch:
schedule:
# UTC 0点30分(北京时间 8点30分)
- cron: 30 0 * * *
# 标星时触发工作流程
watch:
types: [started]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v3
with:
python-version: 3.9
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install requests
- name: Run checkin
run: |
python3 glados.py
env:
GLADOS_COOKIES: "${{ secrets.GLADOS_COOKIES }}"
PUSHPLUS_TOKEN: ${{ secrets.PUSHPLUS_TOKEN }}
- uses: gautamkrishnar/keepalive-workflow@master