Skip to main content
Version: 7.x

Shared Recipe

require 'recipe/deploy/shared.php';

Source

Configuration

shared_dirs

Source

List of dirs what will be shared between releases. Each release will have symlink to those dirs stored in deploy_path/shared dir.

set('shared_dirs', ['storage']);

shared_files

Source

List of files what will be shared between releases. Each release will have symlink to those files stored in deploy_path/shared dir.

set('shared_files', ['.env']);

Tasks

deploy:shared

Source

Creates symlinks for shared files and dirs.