[X] I have searched existing issues, it hasn't been reported yet
Issue description
Hello,
I''m trying to run hook scripts in individual apps for a monorepo.
When I try using the scripts plugins hooks:
serverless-plugin-scripts
and
serverless-scriptable-plugin
with something like
custom: {
...
scriptable: {
// hooks used to invoke a lambda at the end of the deploy to populate the app secrets
hooks: {
"after:package:finalize": "sls invoke -f populateSSM",
},
}
}
Deployment is stuck, when I remove the hook script, it deploys as expected.
Do you know why that would be and where a fix needs to be made?
Service configuration (serverless-compose.yml) content
Are you certain it's a bug?
Are you using the latest version?
Is there an existing issue for this?
Issue description
Hello,
I''m trying to run hook scripts in individual apps for a monorepo.
When I try using the scripts plugins hooks:
and
with something like
Deployment is stuck, when I remove the hook script, it deploys as expected.
Do you know why that would be and where a fix needs to be made?
Service configuration (serverless-compose.yml) content
Command name and used flags
serverless deploy --stage=staging
Command output