Skip to content

ci: GitHub Pages 部署#6

Merged
wmzy merged 1 commit intowmzy:mainfrom
nu-xin:feat/github-pages
Mar 9, 2026
Merged

ci: GitHub Pages 部署#6
wmzy merged 1 commit intowmzy:mainfrom
nu-xin:feat/github-pages

Conversation

@nu-xin
Copy link
Contributor

@nu-xin nu-xin commented Mar 9, 2026

概述

添加 GitHub Pages 自动化部署。

更改

创建 .github/workflows/pages.yml

  • push 到 main 时自动构建部署
  • 使用 pnpm + Node 22
  • 构建命令: pnpm run build
  • 部署到 GitHub Pages

使用方法

在仓库设置中启用 GitHub Pages:
Settings → Pages → Source 设为 "GitHub Actions"

@wmzy wmzy merged commit 3294757 into wmzy:main Mar 9, 2026
1 check passed
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.

2 participants