Guanghu Domestic Migration d1e47f4565
Some checks are pending
自动更新代码和重启 / update-and-restart (push) Waiting to run
CI检查 + 自动部署 / check (push) Waiting to run
CI检查 + 自动部署 / deploy (push) Blocked by required conditions
重启聊天服务 / restart (push) Waiting to run
chore: import sanitized domestic snapshot for REPO-002
Source snapshot: ca48d3ddf926d79aa138306164169baf764bb829
2026-07-17 15:54:41 +08:00

50 lines
1.6 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# ═══════════════════════════════════════════════
# 🔺 Sovereign: TCS-0002∞ | Root: SYS-GLW-0001
# 📜 Copyright: 国作登字-2026-A-00037559
# ═══════════════════════════════════════════════
name: "🌊 Persona Studio · 代码生成"
# 工作流存根 · "我要开发" → 代码生成+测试+打包
# 实际代码生成由 persona-studio/backend/brain/code-generator.js 处理
# 此工作流用于重量级构建任务的异步执行
on:
workflow_dispatch:
inputs:
dev_id:
description: '体验者编号EXP-XXX'
required: true
email:
description: '完成后通知邮箱'
required: true
permissions:
contents: write
jobs:
build:
name: "🚀 代码生成"
runs-on: ubuntu-latest
steps:
- name: 📥 检出代码
uses: actions/checkout@v4
- name: 🟢 配置 Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
- name: 📦 安装依赖
run: |
cd persona-studio/backend
npm install --production
- name: 🔨 执行代码生成
env:
MODEL_API_KEY: ${{ secrets.MODEL_API_KEY }}
run: |
echo "🔨 开始代码生成"
echo " 体验者: ${{ github.event.inputs.dev_id }}"
echo " 通知邮箱: ${{ github.event.inputs.email }}"
echo "✅ 代码生成任务已排队(由后端服务处理)"