mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-23 08:45:04 +01:00
Fix minor typos in comments (#2744)
This commit is contained in:
parent
0a3db5d691
commit
272201779b
@ -18,7 +18,7 @@ set('branch', function () {
|
||||
set('auto_ssh_keygen', true);
|
||||
|
||||
// Sets deploy:update_code strategy.
|
||||
// Can we one of:
|
||||
// Can be one of:
|
||||
// - archive
|
||||
// - clone (if you need `.git` dir in your {{release_path}})
|
||||
set('update_code_strategy', 'archive');
|
||||
@ -89,7 +89,7 @@ task('deploy:update_code', function () {
|
||||
|
||||
run("$git remote update 2>&1");
|
||||
|
||||
// Copy to release_path.a
|
||||
// Copy to release_path.
|
||||
if (get('update_code_strategy') === 'archive') {
|
||||
run("$git archive $at | tar -x -f - -C {{release_path}} 2>&1");
|
||||
} else if (get('update_code_strategy') === 'clone') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user