<?php
/** @var \TYPO3\Surf\Domain\Model\Deployment $deployment */
// APPLICATION
$application = new \TYPO3\Surf\CMS\Application\TYPO3\CMS();
$application->setOption('projectName', 'Introduction Package');
$application->setOption('repositoryUrl', 'git://git.typo3.org/TYPO3CMS/Distributions/Introduction.git');
$application->setOption('typo3.surf:gitCheckout[branch]', 'master');
$application->setDeploymentPath('/var/www/introduction');
// NODES
$node = new \TYPO3\Surf\Domain\Model\Node('Introduction Package on local system');
$node->setHostname('localhost');
$application->addNode($node);
// WORKFLOW
$workflow = new \TYPO3\Surf\Domain\Model\SimpleWorkflow();
// DEPLOYMENT
$deployment->setWorkflow($workflow);
$deployment->addApplication($application);
forked from helhum/Surf.CMS
-
Notifications
You must be signed in to change notification settings - Fork 0
A TYPO3 Surf distribution featuring additional tools for TYPO3 CMS deployments
License
christianbltr/Surf.CMS
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A TYPO3 Surf distribution featuring additional tools for TYPO3 CMS deployments
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- PHP 100.0%