Sha256: f66aed8b3298c647306e8f0fa7c190b8802985d56293be950a5ad08e1e043784

Contents?: true

Size: 1.12 KB

Versions: 4

Compression:

Stored size: 1.12 KB

Contents

# Set some Capistrano defaults
set :linked_files, []
set :linked_files,  %w(app/config/parameters.yml)
set :linked_dirs, []
set :linked_dirs, %w(app/logs app/sessions)

# Run required tasks after the stage
Capistrano::DSL.stages.each do |stage|
  after stage, 'forkcms:configure:composer'
  after stage, 'forkcms:configure:cachetool'
end


# Make sure the composer executable is installed
namespace :deploy do
  after :starting, 'composer:install_executable'
  after :starting, 'cachetool:install_executable'
  after :publishing, 'forkcms:symlink:document_root'
  after :publishing, 'forkcms:symlink:frontend_files'
  after :publishing, 'forkcms:opcache:reset'
  after :updated, 'forkcms:migrations:execute'
  before :reverted, 'forkcms:migrations:rollback'
end


# Load the tasks
load File.expand_path('../../tasks/configure.rake', __FILE__)
load File.expand_path('../../tasks/database.rake', __FILE__)
load File.expand_path('../../tasks/maintenance.rake', __FILE__)
load File.expand_path('../../tasks/migrations.rake', __FILE__)
load File.expand_path('../../tasks/opcache.rake', __FILE__)
load File.expand_path('../../tasks/symlink.rake', __FILE__)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capistrano-forkcms-3.2.1 lib/capistrano/forkcms/defaults.rb
capistrano-forkcms-3.2.0 lib/capistrano/forkcms/defaults.rb
capistrano-forkcms-3.1.2 lib/capistrano/forkcms/defaults.rb
capistrano-forkcms-3.1.0 lib/capistrano/forkcms/defaults.rb