mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-06-13 03:02:20 +02:00
Git Remote Cache #123
This commit is contained in:
parent
3b138adba6
commit
d0e8be2dfe
|
@ -35,6 +35,7 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
|
||||||
const DEPLOY_STRATEGY_RSYNC = 'rsync';
|
const DEPLOY_STRATEGY_RSYNC = 'rsync';
|
||||||
const DEPLOY_STRATEGY_TARGZ = 'targz';
|
const DEPLOY_STRATEGY_TARGZ = 'targz';
|
||||||
const DEPLOY_STRATEGY_GIT_REBASE = 'git-rebase';
|
const DEPLOY_STRATEGY_GIT_REBASE = 'git-rebase';
|
||||||
|
const DEPLOY_STRATEGY_GIT_REMOTE_CACHE = 'git-remote-cache';
|
||||||
const DEPLOY_STRATEGY_GUESS = 'guess';
|
const DEPLOY_STRATEGY_GUESS = 'guess';
|
||||||
const DEFAULT_DEPLOY_STRATEGY = self::DEPLOY_STRATEGY_GUESS;
|
const DEFAULT_DEPLOY_STRATEGY = self::DEPLOY_STRATEGY_GUESS;
|
||||||
|
|
||||||
|
@ -557,6 +558,10 @@ class DeployCommand extends AbstractCommand implements RequiresEnvironment
|
||||||
$deployStrategy = 'deployment/strategy/git-rebase';
|
$deployStrategy = 'deployment/strategy/git-rebase';
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case self::DEPLOY_STRATEGY_GIT_REMOTE_CACHE:
|
||||||
|
$deployStrategy = 'deployment/strategy/git-remote-cache';
|
||||||
|
break;
|
||||||
|
|
||||||
case self::DEPLOY_STRATEGY_GUESS:
|
case self::DEPLOY_STRATEGY_GUESS:
|
||||||
default:
|
default:
|
||||||
if ($this->getConfig()->release('enabled', false) == true) {
|
if ($this->getConfig()->release('enabled', false) == true) {
|
||||||
|
|
Loading…
Reference in a new issue