LOADING
155 words
1 minute
自动部署测试

🚀 自动部署测试

如果你能看到这篇文章,说明以下所有环节都正常工作:

graph TD A[本地 git push] --> B[GitHub 收到推送] B --> C[Webhook 通知服务器] C --> D[服务器 git pull] D --> E[pnpm build] E --> F[替换静态文件] F --> G[✅ 部署成功]

✅ 验证清单

步骤说明状态
📤 本地提交git add + git commit
☁️ 推送到 GitHubgit push
🔔 Webhook 触发GitHub → 服务器
📥 拉取代码git pull
🔨 构建项目pnpm build
🚚 替换静态文件mv dist/*

🎉 自动部署管线测试通过! 以后再也不用手动部署了。

自动部署测试
/posts/auto-deploy-test/
Author
niuniu
Published at
2026-05-26
License
CC BY-NC-SA 4.0

Some information may be outdated