cap deploy
とはどう違いcap deploy:update
ますか?
後者は更新を行うだけだと思います-より良い洞察はありますか?
あはは - ソースを読む ( deploy.rb
)
namespace :deploy do
desc <<-DESC
Deploys your project. This calls both `update' and `restart'. Note that \
this will generally only work for applications that have already been deployed \
once. For a "cold" deploy, you'll want to take a look at the `deploy:cold' \
task, which handles the cold start specifically.
DESC
task :default do
update
restart
end
したがって、deploy
a を実行しupdate
、次に a を実行しrestart
ます。
update
サーバーで更新を実行するだけです。