Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 1.63 KB

UPGRADE.md

File metadata and controls

37 lines (26 loc) · 1.63 KB

LUYA DEPLOYER UPGRADE

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.

from 2.x to 3.0

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 of get('stage').
  • Removed option to ignore composer platform

from 2.x to 2.2

  • #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).

from 1.x to 2.0

  • 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 using host():
<?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:PASSWORD@github.com/VENDOR/REPO.git');