Skip to content

Not easy to load recipes from deployer/contrib #56

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!)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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