mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Create laravel.php
This commit is contained in:
parent
3ab3df21fe
commit
c3ac36d78d
28
recipe/laravel.php
Normal file
28
recipe/laravel.php
Normal file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
/* (c) Anton Medvedev <anton@elfet.ru>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
require_once __DIR__ . '/common.php';
|
||||
|
||||
// Laravel shared dirs
|
||||
set('shared_dirs', ['storage']);
|
||||
|
||||
// Laravel writable dirs
|
||||
set('writable_dirs', ['storage', 'vendor']);
|
||||
|
||||
/**
|
||||
* Main task
|
||||
*/
|
||||
task('deploy', [
|
||||
'deploy:prepare',
|
||||
'deploy:release',
|
||||
'deploy:update_code',
|
||||
'deploy:vendors',
|
||||
'deploy:symlink',
|
||||
'cleanup',
|
||||
])->desc('Deploy your project');
|
||||
|
||||
after('deploy', 'success');
|
Loading…
x
Reference in New Issue
Block a user