Sha256: c5ac2c6a35863cee2d833eb9071f3e88734a26bf17d4ec640e7c0ce6ac6c54d4

Contents?: true

Size: 750 Bytes

Versions: 4

Compression:

Stored size: 750 Bytes

Contents

#
# Craft CMS defaults
#

append :linked_dirs, "vendor", 
  "storage/backups", 
  "storage/composer-backups", 
  "storage/config-backups", 
  "storage/logs", 
  "storage/runtime"

set :config_path, "config"
set :php, "php"

set :assets_path, "web/uploads"

set :craft_local_env, -> { "#{Dir.pwd}/.env" }
set :craft_remote_env, -> { "#{fetch(:deploy_to)}/shared/.env" }

set :craft_local_db_dump, "db.sql"
set :craft_local_backups, "backups"
set :craft_remote_backups, "shared/backups"

# assets
set :craft_compile_assets, true
set :craft_compile_assets_command, "yarn install && yarn run production"

# console
set :craft_console_path, -> { "craft" }
set :craft_console_flags, ""

# Role filtering
set :craft_roles, :all
set :craft_deploy_roles, :all

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
capistrano-craft-0.3.6 lib/capistrano/craft/defaults.rb
capistrano-craft-0.3.5 lib/capistrano/craft/defaults.rb
capistrano-craft-0.3.4 lib/capistrano/craft/defaults.rb
capistrano-craft-0.3.3 lib/capistrano/craft/defaults.rb