Skip to content

auto_check_in

auto_check_in #61

Workflow file for this run

name: auto_check_in
on:
schedule:
# 每天UTC时间00:00执行,根据你的时区调整,例如北京时间早上7点是UTC时间前一天的23:00
# 0 23 * * * 北京时间早上7点是UTC时间前一天的23:00
# 43 6 * * * 14:43
- cron: '0 23 * * *'
jobs:
run-python-script:
env:
COOKIE_QUARK: ${{ secrets.COOKIE_QUARK }}
FS_KEY: ${{ secrets.FS_KEY }}
PUSH_PLUS_TOKEN: ${{ secrets.PUSH_PLUS_TOKEN }}
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.9' # 指定Python版本,根据需要调整
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# 如果你的脚本需要其他依赖,请在这里安装
pip install -r requirements.txt
- name: Run script
run: python check_in_quark.py