Skip to content

JH Specific Deployer Recipe for Magento 2 Projects

Notifications You must be signed in to change notification settings

AmpersandHQ/m2-deploy-recipe

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

M2 Deploy Recipe

Setup

Deployer Configuration

Create a new file deploy.php in the project root (if it does not already exist)

In this file add the contents below and edit/add the host/s as required

<?php

namespace Deployer;

require 'recipe/mage.php';

host('server.hostname')
    ->port(22)
    ->stage('dev')
    ->user('www-data')
    ->set('branch', 'develop')
    ->set('keep_releases', 1)
    ->set('deploy_path', '/some/deploy/path')

About

JH Specific Deployer Recipe for Magento 2 Projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%