mirror of
https://github.com/HChaZZY/NodeSeek-Signin.git
synced 2025-12-06 11:33:49 +08:00
Add files via upload
This commit is contained in:
22
.github/workflows/blank.yml
vendored
22
.github/workflows/blank.yml
vendored
@@ -8,6 +8,10 @@ on:
|
||||
- cron: '00 16 * * *' # 北京时间 00:00 (UTC+8),对应UTC时间 16:00
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
actions: write # 添加写入Actions变量的权限
|
||||
|
||||
jobs:
|
||||
run-nodeseek-sign:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -22,14 +26,17 @@ jobs:
|
||||
python-version: '3.11.8'
|
||||
|
||||
- name: 安装依赖包
|
||||
run: pip install curl_cffi requests
|
||||
run: |
|
||||
pip install curl_cffi requests
|
||||
pip install turnstile_solver yescaptcha
|
||||
|
||||
- name: 运行签到脚本
|
||||
env:
|
||||
# 基本配置
|
||||
NS_COOKIE: ${{ secrets.NS_COOKIE }}
|
||||
# 基本账号
|
||||
USER: ${{ secrets.USER }}
|
||||
PASS: ${{ secrets.PASS }}
|
||||
|
||||
# 额外账号1-5
|
||||
USER1: ${{ secrets.USER1 }}
|
||||
PASS1: ${{ secrets.PASS1 }}
|
||||
USER2: ${{ secrets.USER2 }}
|
||||
@@ -41,11 +48,18 @@ jobs:
|
||||
USER5: ${{ secrets.USER5 }}
|
||||
PASS5: ${{ secrets.PASS5 }}
|
||||
|
||||
# 验证码服务配置
|
||||
# Cookie配置
|
||||
NS_COOKIE: ${{ vars.NS_COOKIE || secrets.NS_COOKIE }}
|
||||
|
||||
# 验证码配置
|
||||
SOLVER_TYPE: ${{ secrets.SOLVER_TYPE }}
|
||||
API_BASE_URL: ${{ secrets.API_BASE_URL }}
|
||||
CLIENTT_KEY: ${{ secrets.CLIENTT_KEY }}
|
||||
|
||||
# GitHub API配置
|
||||
GH_PAT: ${{ secrets.GH_PAT }}
|
||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||
|
||||
# 通知推送配置
|
||||
TG_BOT_TOKEN: ${{ secrets.TG_BOT_TOKEN }}
|
||||
TG_USER_ID: ${{ secrets.TG_USER_ID }}
|
||||
|
||||
Reference in New Issue
Block a user