Lae/deploy.php
2023-02-09 18:56:59 +08:00

28 lines
423 B
PHP

<?php
namespace Deployer;
require 'recipe/laravel.php';
// Config
try {
set('repository', 'git@github.com:EdgeStanding/lae.git');
} catch (Exception\Exception $e) {
exit($e->getMessage());
}
add('shared_files', []);
add('shared_dirs', []);
add('writable_dirs', []);
// Hosts
host('')
->set('remote_user', 'deployer')
->set('deploy_path', '~/lae');
// Hooks
after('deploy:failed', 'deploy:unlock');