Skip to content

feat: add frontend auto-deploy config#1043

Merged
benjamin-747 merged 7 commits into
gitmono-dev:mainfrom
liuyangjuncong20202570:upstream
May 23, 2025
Merged

feat: add frontend auto-deploy config#1043
benjamin-747 merged 7 commits into
gitmono-dev:mainfrom
liuyangjuncong20202570:upstream

Conversation

@liuyangjuncong20202570

@liuyangjuncong20202570 liuyangjuncong20202570 commented May 20, 2025

Copy link
Copy Markdown
Contributor

增加
Docker配置文件Dockerfile
安全检测接口health.ts
gitmono/regex引用路径

修改
流水线配置文件web-test.yml
CSP域名配置
next start脚本端口
isProduction环境变量

@vercel

vercel Bot commented May 20, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 23, 2025 6:21am

Comment thread .github/workflows/web-test.yml Outdated
Comment thread .github/workflows/web-test.yml Outdated
Comment thread moon/Dockerfile Outdated
Comment thread moon/apps/web/package.json
Comment thread .github/workflows/web-test.yml Outdated
Comment thread .github/workflows/web-test.yml Outdated
Comment thread moon/apps/web/next.config.js Outdated
@genedna
genedna requested a review from benjamin-747 May 21, 2025 07:13
Comment thread .github/workflows/web-test.yml
Comment thread .github/workflows/web-test.yml Outdated
@genedna
genedna requested a review from Copilot May 23, 2025 06:06

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds configuration improvements to support frontend auto-deploy along with minor refactoring in various configuration files. Key changes include updating the production environment variable in the config package, adding a new API health endpoint, and modifying deployment workflows and Docker configuration.

Reviewed Changes

Copilot reviewed 9 out of 9 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
moon/packages/config/src/index.ts Change production check from NODE_ENV to APP_ENV
moon/apps/web/utils/queryClient.ts Reordered and updated import statements
moon/apps/web/tsconfig.json Reformatted include and exclude arrays
moon/apps/web/pages/api/health.ts Added a simple health endpoint for security detection
moon/apps/web/package.json Updated the Next.js start command with explicit host and port
moon/apps/web/next.config.js Updated Content Security Policy to include additional domains
moon/Dockerfile Added a Dockerfile for auto-deploy purposes
.github/workflows/web-test.yml Updated dependency install command and ref specification
.github/workflows/web-deploy.yml Introduced a new deploy workflow with ECR image build and push

Comment thread moon/apps/web/next.config.js
Comment thread moon/apps/web/next.config.js Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@benjamin-747
benjamin-747 added this pull request to the merge queue May 23, 2025
Merged via the queue into gitmono-dev:main with commit a3c78dc May 23, 2025
@github-project-automation github-project-automation Bot moved this from In review to Done in Mega UI 重构 May 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants