makerbundle
This commit is contained in:
parent
fe4e4fa940
commit
de657015f2
@ -25,7 +25,8 @@
|
|||||||
"symfony/serializer": "7.0.*",
|
"symfony/serializer": "7.0.*",
|
||||||
"symfony/twig-bundle": "7.0.*",
|
"symfony/twig-bundle": "7.0.*",
|
||||||
"symfony/yaml": "7.0.*",
|
"symfony/yaml": "7.0.*",
|
||||||
"twig/twig": "*"
|
"twig/twig": "*",
|
||||||
|
"symfony/maker-bundle": "^1.52"
|
||||||
},
|
},
|
||||||
"config": {
|
"config": {
|
||||||
"allow-plugins": {
|
"allow-plugins": {
|
||||||
@ -79,7 +80,6 @@
|
|||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"deployer/deployer": "^7.3",
|
"deployer/deployer": "^7.3",
|
||||||
"phpunit/phpunit": "10.*",
|
"phpunit/phpunit": "10.*"
|
||||||
"symfony/maker-bundle": "^1.52"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
22
deploy.php
Normal file
22
deploy.php
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
<?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');
|
Loading…
Reference in New Issue
Block a user