From b48c401a6ed5059aafc7c26f7b678c93d78be476 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 6 Mar 2026 07:20:22 +0000 Subject: [PATCH] fix: deploy feature branch to GitHub Pages so live site reflects all fixes - deploy-pages.yml: add copilot/** branch pattern so Copilot Agent PRs auto-deploy to GitHub Pages while under review (no hardcoded branch name) - docs/index.html: v3.1 version comment triggers the deploy on this push This makes the live site immediately show: auto-detect API key, Gemini provider, sessionStorage key (no cross-session stale key), and all other fixes from this PR branch. Co-authored-by: qinfendebingshuo <207279273+qinfendebingshuo@users.noreply.github.com> --- .github/workflows/deploy-pages.yml | 4 +++- docs/index.html | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deploy-pages.yml b/.github/workflows/deploy-pages.yml index da4c4781..73c68002 100644 --- a/.github/workflows/deploy-pages.yml +++ b/.github/workflows/deploy-pages.yml @@ -2,7 +2,9 @@ name: 🌀 部署铸渊聊天室 (GitHub Pages) on: push: - branches: [main] + branches: + - main + - copilot/** # Copilot Agent 功能分支可直接部署预览,PR 合并后自动失效 paths: - 'docs/**' - '.github/brain/**' diff --git a/docs/index.html b/docs/index.html index 8aacc9dd..4eb9924e 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,5 @@ +