ci-templates/examples/project-deploy.php

25 lines
650 B
PHP

<?php
/**
* Example project deploy.php
*
* This is what each TYPO3 project's build/deploy.php looks like
* when using the shared recipe.
*/
namespace Deployer;
require __DIR__ . '/../deployer-lib.php';
// Import project-specific server config
import(__DIR__ . '/servers.yaml');
// Project-specific cachetool sockets
host('stage')
->set('cachetool', '/var/run/phpfpm/PROJECTNAME.cloonar.dev.sock');
host('production')
->set('cachetool', '/var/run/phpfpm/PROJECTNAME.TLD.sock');
// Optional: Override settings for this project
// set('shared_dirs', array_merge(get('shared_dirs'), ['public/uploads']));
// set('keep_releases', 10);