Skip to content

Ability to overwrite the default tasks #26

@jb-san

Description

@jb-san

are there plans to make it possible to overwrite the default tasks ?
I know I can fork it and make the changes, but I think its better to keep the forks to a minimum..


like if I use git
I think on the initial setup, it should just clone the repository, but on subsequent deploys it should just do a git fetch origin,

when I try to overwrite the git:clone task I get

-----> Cloning the Git repository
fatal: destination path '.' already exists and is not an empty directory.

no matter what i put in the

namespace :git do
  desc "Clones the Git repository to the release path."
  task :clone do
    queue "echo $PATH"
  end
end

it does echo the $PATH though..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions