Skip to content

Daily Check-in

Daily Check-in #213

name: Daily Check-in
on:
schedule:
- cron: '0 0 * * *' # 每天0点 UTC 时间执行
workflow_dispatch:
jobs:
run_script:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.9.19'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
playwright install chromium
- name: Execute script
env:
USERNAME: ${{ secrets.USERNAME }}
PASSWORD: ${{ secrets.PASSWORD }}
run: |
python main.py