makerbundle

This commit is contained in:
Jan Klattenhoff 2024-03-13 07:13:24 +01:00
parent fe4e4fa940
commit de657015f2
2 changed files with 25 additions and 3 deletions

@ -25,7 +25,8 @@
"symfony/serializer": "7.0.*",
"symfony/twig-bundle": "7.0.*",
"symfony/yaml": "7.0.*",
"twig/twig": "*"
"twig/twig": "*",
"symfony/maker-bundle": "^1.52"
},
"config": {
"allow-plugins": {
@ -79,7 +80,6 @@
},
"require-dev": {
"deployer/deployer": "^7.3",
"phpunit/phpunit": "10.*",
"symfony/maker-bundle": "^1.52"
"phpunit/phpunit": "10.*"
}
}

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');