Closed sweebee closed 4 years ago
Really strange. Works for me just fine. Will look into issue more later.
require 'recipe/laravel.php';
require 'recipe/rollbar.php';
require 'recipe/telegram.php';
set('rollbar_token', function () {
return getenv('ROLLBAR_TOKEN');
});
set('rollbar_username', function () {
return getenv('ROLLBAR_USER');
});
//Telegram Configuration
set('telegram_token', function () {
return getenv('TELEGRAM_TOKEN');
});
set('telegram_chat_id', function () {
return getenv('TELEGRAM_ID');
});
With my situation, Laravel works fine and I do not get any errors but the telegram notification is not sent as well as that of rollbar.
@rafaelstz tried your suggestion but still Rollbar and Telegram not working.
composer.json
"require-dev": {
"deployer/deployer": "^6.2",
"deployer/recipes": "^6.2",
Update. Got it to work using instructions from here; https://github.com/deployphp/deployer/issues/1446
Fixed in master. Please verify. deployer and recipes repos now one.
Description
I added the bugsnag recipe, but deploying doesn't work anymore. First I added
require 'recipe/bugsnag.php';
but I get:failed to open stream: No such file or directory in
.The i tried:
require '../../.composer/vendor/deployer/recipes/recipe/bugsnag.php';
(that location exists) but then i get:[InvalidArgumentException] Task `deploy` not found
Content of
deploy.php