Skip to content

Commit 27188e0

Browse files
committed
Fix .env file test in deploy:env task
1 parent 6a40271 commit 27188e0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

recipe/deploy/env.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
desc('Configure .env file');
88
task('deploy:env', function () {
99
cd('{{release_or_current_path}}');
10-
if (test('[ ! -f .env ] && [ -f {{dotenv_example}} ]')) {
10+
if (test('[ ! -e .env ] && [ -f {{dotenv_example}} ]')) {
1111
run('cp {{dotenv_example}} .env');
1212
set('new_deployment', true);
1313
}

0 commit comments

Comments
 (0)