TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Deploying websites with Git

2 点作者 robmil超过 12 年前

1 comment

geerlingguy超过 12 年前
For many of the smaller sites I manage, I've been using git hooks on the server to simply check out the code into the live site directory after a commit is pushed, using the basic setup described here: <a href="http://toroid.org/ams/git-website-howto" rel="nofollow">http://toroid.org/ams/git-website-howto</a><p>I haven't tried anything with Capistrano, though; for the few sites that demand more code workflow control, I've just used different shell scripts along with git.