what's difference between cap deploy
, cap deploy:update
?
i assume latter update - better insights?
update adds new release folder , changes symlink, not restart. useful if run migrations server. example, not allow remote database access deploy migrations, use cap deploy:update, log in server , run migrations, cap deploy:restart.
it can useful if want background jobs, (e.g. cron jobs, not long-running daemons) pick new code changes without having restart web handlers.
Comments
Post a Comment