This document will help you upgrading from a LUYA Deployer version into another. For more detailed informations about the breaking changes click the issue detail link, there you can examples of how to change your code.
https://github.com/luyadev/luya-deployer/compare/2.2.1...3.0.0
- Version 7.0 of deployphp/deployer, see migrate 6.x to 7.0 Guide
- Removed FPX Support (task
luya:composerglobal
deleted) - Config env is now evaluated by
get('labels')['stage']
instead ofget('stage')
. - Removed option to ignore composer platform
- #23 FXP installation is now by default off instead of on. This is a small BC break. In order to restore original behavior use
->set('installFxpPlugin', true)
.
- The
password()
option has been removed by latest deployer version, use ssh keys instead. - Version 6.0 of deployphp/deployer, so LUYA Deployer skipped version 4 & 5 if you are looking for Docs. Version 1 of LUYA Deployer required version 3.0
- New deployment values and configuration. The
deploy.php
must be configured as following usinghost()
:
<?php
namespace Deployer;
require 'vendor/luyadev/luya-deployer/luya.php';
// define your configuration here
host('SSHHOST.COM')
->stage('prod')
->port(22)
->user('SSHUSER')
->set('deploy_path', '~/httpdocs');
set('repository', 'https://USER:[email protected]/VENDOR/REPO.git');