There is nothing much i have changed using same sample file, What am i doing wrong here
<?php
namespace Deployer;
require 'vendor/jalogut/magento2-deployer-plus/recipe/magento_2_2_5.php';
// Use timestamp for release name
set('release_name', function () {
return date('YmdHis');
});
set('static_content_locales', 'en_US');
desc('Upgrades magento database restore');
// Magento dir into the project root. Set "." if magento is installed on project root
set('magento_dir', '.');
// [Optional] Git repository. Only needed if not using build + artifact strategy
set('repository', '*****************************************');
// Space separated list of languages for static-content:deploy
set('languages', 'en_US');
// Enable all caches after deployment
set('cache_enabled_caches', 'all');
// OPcache configuration
task('cache:clear:opcache', 'sudo systemctl reload php-fpm');
after('cache:clear', 'cache:clear:opcache');
// Build host
localhost('build');
// Remote Servers
host('stage_master')
->hostname('157.245.***.***')
->user('root')
->set('deploy_path', '~/test_m2')
->stage('stage')
->roles('master');
I try to execute following command
I get this following error (screenshot attached)
There is nothing much i have changed using same sample file, What am i doing wrong here