Skip to content

检测Serv00开放注册 #50

检测Serv00开放注册

检测Serv00开放注册 #50

Workflow file for this run

# .github/workflows/check.yml
name: 检测Serv00开放注册
on:
schedule:
- cron: '0 23 * * *'
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run checker script
# 核心改动:将环境变量换成 BARK_KEY
env:
BARK_KEY: ${{ secrets.BARK_KEY }}
BARK_SERVER_URL: ${{ secrets.BARK_SERVER_URL }}
run: python checker.py