Skip to content

Not easy to load recipes from deployer/contrib #56

@johnorourke

Description

@johnorourke

Deployer's own contrib directory isn't in the default paths for RecipeLoader::loadRecipe().

Workaround: (eg. where deployer docs use require 'contrib/slack.php';, we would use the following)

\putenv('DEPLOY_RECIPE_PATHS=' . \Composer\InstalledVersions::getInstallPath('deployer/deployer') . '/contrib');
RecipeLoader::get()->loadRecipe('slack');

(PR coming!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions