Deploy.php - DEPRECATED
StoreFrame default deploy.php:
deploy.php
<?php
// Deployer Plus Script for CC
namespace Deployer;
require 'vendor/jalogut/magento2-deployer-plus/recipe/magento_2_2_5.php';
require 'vendor/storeframe/runner/deployer/storeframe-recipe.php';
// Deploy Custom Task (After maintenance:unset)
task('stf:custom_task', function () {
});
before('cache:clear', 'stf:custom_task');
// Disable Module
task('stf:module_disable', function () {
});
before('files:compile', 'stf:module_disable');
// Global Variable
set('languages', 'en_US nl_NL');
// Remote Servers (Deploy staging: dep deploy staging)
host('94.237.124.22')
->set('hostname','{{your hostname here}}')
->set('magento_repository', '{{your git repo here}}')
->user('app')
->stage('staging')
->roles('master');
// Localhost (Only to update local store config "dep stf:update_config dev")
localhost()
->set('release_path', '.')
->stage('dev')
->roles('master');