mirror of
https://github.com/andres-montanez/Magallanes
synced 2024-05-25 01:42:14 +02:00
1. Change parameters names for git clone task
This commit is contained in:
parent
9873b6ab71
commit
07431a0bee
|
@ -26,13 +26,14 @@ class GitCloneTask extends BaseStrategyTaskAbstract implements IsReleaseAware
|
|||
|
||||
public function run()
|
||||
{
|
||||
$repository = $this->getConfig()->deployment('repository');
|
||||
$branch = $this->getConfig()->deployment('branch', 'master');
|
||||
$deployToDirectory = $this->getConfig()->deployment('to');
|
||||
|
||||
$repository = $this->getConfig()->deployment('git-repository');
|
||||
$branch = $this->getConfig()->deployment('git-branch', 'master');
|
||||
if (!$repository or !$branch or !$deployToDirectory) return false;
|
||||
|
||||
$this->checkOverrideRelease();
|
||||
|
||||
$deployToDirectory = $this->getConfig()->deployment('to');
|
||||
if ($this->getConfig()->release('enabled', false) === true) {
|
||||
$releasesDirectory = $this->getConfig()->release('directory', 'releases');
|
||||
|
||||
|
|
Loading…
Reference in a new issue