Skip to content

Instantly share code, notes, and snippets.

@radmiraal
Created September 14, 2012 06:59
Show Gist options
  • Save radmiraal/3720351 to your computer and use it in GitHub Desktop.
Save radmiraal/3720351 to your computer and use it in GitHub Desktop.
$deployment->onInitialize(function() use ($workflow, $application) {
$workflow->removeTask('typo3.surf:flow3:setfilepermissions');
$workflow->removeTask('typo3.surf:flow3:copyconfiguration');
$workflow->removeTask('typo3.surf:gitcheckout');
$workflow->addTask('typo3.surf:gitcheckout', 'update', $application);
$workflow->afterTask('beech.gitcheckout', 'beech.fetchQueuedPatches', $application);
});
$workflow->defineTask('beech.gitcheckout', 'typo3.surf:gitcheckout', array(
'branch' => 'development'
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment