Skip to content

Auto Sign

Auto Sign #1

Workflow file for this run

name: Scheduled Python Script
on:
schedule:
# 每天的 08:00 UTC 运行
- cron: '0 8 * * *'
jobs:
run-python-script:
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.x # 你可以指定具体的 Python 版本,如 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt # 假设你的依赖项在 requirements.txt 文件中
- name: Run Python script
run: python auto_sign in.py # 替换为你的 Python 脚本文件名