mirror of
https://github.com/deployphp/deployer.git
synced 2025-02-24 09:12:51 +01:00
Merge pull request #463 from kaa4ever/master
Added basic drupal 8 recipe
This commit is contained in:
commit
92192cff4d
37
recipe/drupal8.php
Normal file
37
recipe/drupal8.php
Normal file
@ -0,0 +1,37 @@
|
||||
<?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.
|
||||
*/
|
||||
|
||||
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',
|
||||
]);
|
Loading…
x
Reference in New Issue
Block a user