Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 974 Bytes

UPGRADE.md

File metadata and controls

24 lines (18 loc) · 974 Bytes

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 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:[email protected]/VENDOR/REPO.git');