Skip to content

Commit a3a339d

Browse files
committed
Remove artisan:create_key task
1 parent a6ae5ec commit a3a339d

File tree

2 files changed

+0
-9
lines changed

2 files changed

+0
-9
lines changed

recipe/deploy/env.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,5 @@
99
cd('{{release_or_current_path}}');
1010
if (test('[ ! -e .env ] && [ -f {{dotenv_example}} ]')) {
1111
run('cp {{dotenv_example}} .env');
12-
set('new_deployment', true);
1312
}
1413
});

recipe/laravel.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,6 @@ function laravel_version_compare($version, $comparator)
101101
desc('Sets the application key');
102102
task('artisan:key:generate', artisan('key:generate'));
103103

104-
desc('Generates the application key for new deployments');
105-
task('artisan:create_key', function () {
106-
if (has('new_deployment')) {
107-
invoke('artisan:key:generate');
108-
}
109-
})->hidden();
110-
111104
desc('Creates the encryption keys for API authentication');
112105
task('artisan:passport:keys', artisan('passport:keys'));
113106

@@ -282,7 +275,6 @@ function laravel_version_compare($version, $comparator)
282275
task('deploy', [
283276
'deploy:prepare',
284277
'deploy:vendors',
285-
'artisan:create_key',
286278
'artisan:storage:link',
287279
'artisan:config:cache',
288280
'artisan:route:cache',

0 commit comments

Comments
 (0)