linked_dirs

deploy.rb contains a hash of :enhanced_linked_dirs. The linked_dirs task reads this hash and creates the directories listed in the key of this hash, if they do not exist.

Configuration

Listing of :enhanced_linked_dirs in deploy.rb:

set :enhanced_linked_dirs, {
  'assets/fileadmin' => 'fileadmin',
  'assets/l10n' => 'typo3conf/l10n'
}

Usage

linked_dirs is run automatically after the Capistrano task of the same name.

dkdeploy_core/lib/capistrano/dkdeploy:

after 'deploy:check:linked_dirs', 'deploy:enhanced_symlinks:check:linked_dirs'

make_linked_dirs

deploy.rb contains a hash of enhanced_linked_dirs. The make_linked_dirs task reads this hash and creates the directories listed in the value of this hash if they do not exist.

Configuration

Listing of :enhanced_linked_dirs in deploy.rb:

set :enhanced_linked_dirs, {
  'assets/fileadmin' => 'fileadmin',
  'assets/l10n' => 'typo3conf/l10n'
}

Usage

make_linked_dirs is run automatically after the Capistrano task of the same name.

after 'deploy:check:make_linked_dirs', 'deploy:enhanced_symlinks:check:make_linked_dirs'

linked_files

deploy.rb contains a hash of :enhanced_linked_files. The linked_files task reads this hash - if a file in the key of this hash does not exist, it logs an error and outputs the message linked_file_does_not_exist

Configuration

Listing of :enhanced_linked_files in deploy.rb:

set :linked_files, {
  'assets/db/schema' => 'db_definition'
}

Usage

linked_files is run automatically after the Capistrano task of the same name.

after 'deploy:check:linked_files', 'deploy:enhanced_symlinks:check:linked_files'

Output

If a linked file does not exist, the task ends with exit status 1, logs an error in Capistrano and writes the message to stdout.

symlink:linked_dirs

deploy.rb contains a hash of :enhanced_linked_dirs. The linked_dirs task reads this hash and creates symlinks to the directories in the key of this hash, in the locations specified in the value of the hash.

Configuration

Listing of enhanced_linked_dirs in deploy.rb:

set :enhanced_linked_dirs, {
  'assets/fileadmin' => 'fileadmin',
  'assets/l10n' => 'typo3conf/l10n'
}

Usage

linked_dirs is run automatically after the Capistrano task of the same name.

after 'deploy:symlink:linked_dirs', 'deploy:enhanced_symlinks:symlink:linked_dirs'

symlink:linked_files

deploy.rb contains a hash of :enhanced_linked_files. The linked_files task reads this hash and creates symlinks to the files in the key of this hash, in the locations specified in the value of the hash.

Configuration

Use :copy_source for variables inside your text.

Example:

set :local_web_root_path, "my_web_root_path"

Usage

linked_files is run automatically after the Capistrano task of the same name.

after 'deploy:symlink:linked_files', 'deploy:enhanced_symlinks:symlink:linked_files'

Search Results powered by Algolia Search