23 lines
368 B
PHP
23 lines
368 B
PHP
<?php
|
|
namespace Deployer;
|
|
|
|
require 'recipe/symfony.php';
|
|
|
|
// Config
|
|
|
|
set('repository', 'http://192.168.178.111:3000/jan/test.git');
|
|
|
|
add('shared_files', []);
|
|
add('shared_dirs', []);
|
|
add('writable_dirs', []);
|
|
|
|
// Hosts
|
|
|
|
host('192.168.178.106')
|
|
->set('remote_user', 'deployer')
|
|
->set('deploy_path', '~/test');
|
|
|
|
// Hooks
|
|
|
|
after('deploy:failed', 'deploy:unlock');
|