From de657015f20f44277f77ba03795f1ddbb6521b4c Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Wed, 13 Mar 2024 07:13:24 +0100 Subject: [PATCH] makerbundle --- composer.json | 6 +++--- deploy.php | 22 ++++++++++++++++++++++ 2 files changed, 25 insertions(+), 3 deletions(-) create mode 100644 deploy.php diff --git a/composer.json b/composer.json index 1d09755..96e476f 100644 --- a/composer.json +++ b/composer.json @@ -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.*" } } diff --git a/deploy.php b/deploy.php new file mode 100644 index 0000000..6f8b871 --- /dev/null +++ b/deploy.php @@ -0,0 +1,22 @@ +set('remote_user', 'deployer') + ->set('deploy_path', '~/test'); + +// Hooks + +after('deploy:failed', 'deploy:unlock');