Merge pull request #36 from qinfendebingshuo/copilot/fix-persona-studio-link
fix: make Persona Studio accessible via GitHub Pages
This commit is contained in:
commit
86f680040f
|
|
@ -6,6 +6,7 @@ on:
|
|||
- main # 仅 main 分支触发生产部署
|
||||
paths:
|
||||
- 'docs/**'
|
||||
- 'persona-studio/frontend/**'
|
||||
- '.github/brain/**'
|
||||
workflow_dispatch:
|
||||
|
||||
|
|
@ -31,6 +32,11 @@ jobs:
|
|||
- name: Setup Pages
|
||||
uses: actions/configure-pages@v5
|
||||
|
||||
- name: Sync Persona Studio frontend to docs
|
||||
run: |
|
||||
mkdir -p docs/persona-studio
|
||||
cp -r persona-studio/frontend/* docs/persona-studio/
|
||||
|
||||
- name: Upload Pages artifact
|
||||
uses: actions/upload-pages-artifact@v3
|
||||
with:
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
<br>
|
||||
|
||||
### 🚀 [点击进入 Persona Studio →](https://guanghulab.com/persona-studio/)
|
||||
### 🚀 [点击进入 Persona Studio →](https://qinfendebingshuo.github.io/guanghulab/persona-studio/)
|
||||
|
||||
💬 自然语言对话 · 🧠 智能代码生成 · 📧 邮件推送结果 · 🔄 对话记忆
|
||||
|
||||
|
|
@ -59,7 +59,7 @@
|
|||
| **铸渊 Zhùyuān** | 代码守护者 | 代码审查、CI 巡检、模块协议执行、Issue 回复 |
|
||||
| **冰朔 Bīng Shuò** | 系统创建者 | 系统架构设计、核心决策、广播发布 |
|
||||
| **霜砚 Shuāng Yàn** | 人格导师 | 人格调校、风格管理、联觉语言系统 |
|
||||
| **知秋 Zhī Qiū** | 协助开发者 | 对话协助、代码生成、开发体验([Persona Studio](https://guanghulab.com/persona-studio/)) |
|
||||
| **知秋 Zhī Qiū** | 协助开发者 | 对话协助、代码生成、开发体验([Persona Studio](https://qinfendebingshuo.github.io/guanghulab/persona-studio/)) |
|
||||
|
||||
---
|
||||
|
||||
|
|
@ -213,7 +213,7 @@
|
|||
### 体验模块
|
||||
| 模块 | 说明 |
|
||||
|------|------|
|
||||
| `persona-studio/` | 人格体协助开发体验([进入 →](https://guanghulab.com/persona-studio/)) |
|
||||
| `persona-studio/` | 人格体协助开发体验([进入 →](https://qinfendebingshuo.github.io/guanghulab/persona-studio/)) |
|
||||
|
||||
### 系统支撑
|
||||
| 模块 | 说明 |
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@
|
|||
## 👉 点击进入体验
|
||||
|
||||
<p align="center">
|
||||
<a href="https://qinfendebingshuo.github.io/persona-studio/">
|
||||
<a href="https://qinfendebingshuo.github.io/guanghulab/persona-studio/">
|
||||
<img src="https://img.shields.io/badge/%F0%9F%9A%80%20%E6%89%93%E5%BC%80%E4%BA%BA%E6%A0%BC%E4%BD%93%E5%AF%B9%E8%AF%9D%E7%95%8C%E9%9D%A2-Click%20Here-0969da?style=for-the-badge&logoColor=white" alt="Launch" />
|
||||
</a>
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ const API_BASE = (function () {
|
|||
if (location.hostname === 'localhost' || location.hostname === '127.0.0.1') {
|
||||
return 'http://localhost:3002';
|
||||
}
|
||||
return '';
|
||||
return 'https://guanghulab.com';
|
||||
})();
|
||||
|
||||
/* ---- Init ---- */
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@
|
|||
if (location.hostname === 'localhost' || location.hostname === '127.0.0.1') {
|
||||
return 'http://localhost:3002';
|
||||
}
|
||||
return '';
|
||||
return 'https://guanghulab.com';
|
||||
}
|
||||
|
||||
async function handleLogin(e) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue