This commit is contained in:
Anton Medvedev 2021-09-24 15:19:15 +02:00
parent fef85caf5f
commit 84aeb11f8c

View File

@ -7,7 +7,7 @@ task('deploy:symlink', function () {
run("mv -T {{deploy_path}}/release {{current_path}}");
} else {
// Atomic symlink does not supported.
// Will use simple two steps switch.
// Will use simple two steps switch.
run("cd {{deploy_path}} && {{bin/symlink}} {{release_path}} {{current_path}}"); // Atomic override symlink.
run("cd {{deploy_path}} && rm release"); // Remove release link.