diff --git a/composer.json b/composer.json index 105e51d9..6726864b 100644 --- a/composer.json +++ b/composer.json @@ -82,7 +82,8 @@ } }, "require-dev": { - "deployer/deployer": "^6.0", + "deployer/deployer": "^6.8", + "deployer/recipes": "^6.2", "ichhabrecht/filefill": "^2.0" }, "config": { diff --git a/composer.lock b/composer.lock index 2cce9ba7..dc281152 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "55d1141b531b735fa5335acff314629f", + "content-hash": "bdb0e8fc25a5e98d75bea5bce07ec0bd", "packages": [ { "name": "christophlehmann/imageoptimizer", @@ -6515,6 +6515,64 @@ "abandoned": true, "time": "2019-12-12T13:45:57+00:00" }, + { + "name": "deployer/recipes", + "version": "6.2.2", + "source": { + "type": "git", + "url": "https://github.com/deployphp/recipes.git", + "reference": "84b3229c518c094a950e1fe785b7b8f9598770fe" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/deployphp/recipes/zipball/84b3229c518c094a950e1fe785b7b8f9598770fe", + "reference": "84b3229c518c094a950e1fe785b7b8f9598770fe", + "shasum": "" + }, + "require": { + "php": "~7.0" + }, + "replace": { + "deployer/recipes": "self.version" + }, + "require-dev": { + "deployer/deployer": "^6.3" + }, + "type": "library", + "autoload": { + "files": [ + "autoload.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Anton Medvedev", + "email": "anton@medv.io" + } + ], + "description": "3rd party deployer recipes", + "homepage": "https://github.com/deployphp/recipes", + "keywords": [ + "cachetool", + "cloudflare", + "deploy", + "deployer", + "deployment", + "hipchat", + "newrelic", + "rabbit", + "recipes", + "sentry", + "slack", + "yarn" + ], + "abandoned": true, + "time": "2019-06-27T06:47:18+00:00" + }, { "name": "ichhabrecht/filefill", "version": "2.0.3", diff --git a/deploy.php b/deploy.php index 07c9fb7e..7bdd0d20 100644 --- a/deploy.php +++ b/deploy.php @@ -1,15 +1,15 @@ set('http_user', 'p546128') ->set('writable_mode', 'chmod') ->set('bin/composer', '/usr/local/bin/composer') + ->set('cachetool_args', '--web --web-path={{release_path}}/public/ --web-url=https://www.ep-reisen.de') ; task('build', function () {