Dkdeploy uses by default it’s own copy strategy and overwrites the :scm constant (with :copy). The tasks in this namespace are wrappers around the copy_strategy.
If you want to change the :scm strategy, for example to :git, you could customize that for your project. In that case these tasks are irrelevant.
check
Checks if the local source directory ( set in the :copy_source variable ) exists. Raises a fatal exception if the directory does not exist. Otherwise no message is shown.
create_release
Copies the source file structure to the server excluding the not wanted elements.
Usage with
Requirements
tar needs to be installed on both machines.
SSH config that enables SSH connection to the server.
Output
Example output
set_current_revision
Sets the current revision that will be deployed and returns the current revision message but does not print this message itself.