We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a3db5d commit 2722017Copy full SHA for 2722017
recipe/deploy/update_code.php
@@ -18,7 +18,7 @@
18
set('auto_ssh_keygen', true);
19
20
// Sets deploy:update_code strategy.
21
-// Can we one of:
+// Can be one of:
22
// - archive
23
// - clone (if you need `.git` dir in your {{release_path}})
24
set('update_code_strategy', 'archive');
@@ -89,7 +89,7 @@
89
90
run("$git remote update 2>&1");
91
92
- // Copy to release_path.a
+ // Copy to release_path.
93
if (get('update_code_strategy') === 'archive') {
94
run("$git archive $at | tar -x -f - -C {{release_path}} 2>&1");
95
} else if (get('update_code_strategy') === 'clone') {
0 commit comments