Skip to content

Directory based deployment using Module deployment script only deploys the first file in the directory #757

@ahmadabdalla

Description

@ahmadabdalla

If we pass a directory (container) to the parameterFilePath parameter of the New-ModuleDeployment.ps1 script, the logic detects the directory correctly, however it only deploys the first file in that directory.

Cause:
We have a return function being called at the end of the deployment, which exits the script

 return $deploymentName

Removing this line has implications on other steps as the output is being used elsewhere.

Need to investigate other methods to achieve the same outcome.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions