Lae/deploy.php

28 lines
423 B
PHP
Raw Normal View History

2023-02-09 10:35:08 +00:00
<?php
2023-02-09 10:56:59 +00:00
2023-02-09 10:35:08 +00:00
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');