namespace deploy:enhanced_symlinks
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:
Usage
linked_dirs is run automatically after the Capistrano task of the same name.
dkdeploy_core/lib/capistrano/dkdeploy:
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:
Usage
make_linked_dirs is run automatically after the Capistrano task of the same name.
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:
Usage
linked_files is run automatically after the Capistrano task of the same name.
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:
Usage
linked_dirs is run automatically after the Capistrano task of the same name.
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:
Usage
linked_files is run automatically after the Capistrano task of the same name.