diff --git a/tasks/deploy/update.js b/tasks/deploy/update.js index 4f7579b..73b06b7 100644 --- a/tasks/deploy/update.js +++ b/tasks/deploy/update.js @@ -42,7 +42,7 @@ module.exports = function (gruntOrShipit) { return Promise.resolve(); } shipit.log('Copy previous release to "%s"', shipit.releasePath); - return shipit.remote(util.format('cp -a %s/. %s', path.join(shipit.releasesPath, shipit.previousRelease), shipit.releasePath)); + return shipit.remote(util.format('cp -r %s/. %s', path.join(shipit.releasesPath, shipit.previousRelease), shipit.releasePath)); } /**