deployer/recipe/drupal8.php
Anton Medvedev a3733d0d81 Revert "Added function taskGroup and changed spec of function task"
This reverts commit 9c1e4eca2d5f4e5a3581e7602906c76c8af6ed72.

Conflicts:
	test/src/FunctionsTest.php
2016-04-04 17:01:55 +07:00

40 lines
790 B
PHP

<?php
/* (c) Sergio Carracedo <info@sergiocarraedo.es>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Deployer;
require_once __DIR__ . '/common.php';
task('deploy', [
'deploy:prepare',
'deploy:release',
'deploy:update_code',
'deploy:shared',
'deploy:symlink',
'cleanup'
]);
//Set drupal site. Change if you use different site
env('drupal_site', 'default');
//Drupal 8 shared dirs
set('shared_dirs', [
'sites/{{drupal_site}}/files',
]);
//Drupal 8 shared files
set('shared_files', [
'sites/{{drupal_site}}/settings.php',
'sites/{{drupal_site}}/services.yml',
]);
//Drupal 8 Writable dirs
set('writable_dirs', [
'sites/{{drupal_site}}/files',
]);