Running some script after stack deployment

I need to run a script when the stack deployment is done.

My use case is as follows:
I am having some migrations with all the lambdas. This needs a script npx sequelize db:migrate to be called. I am not getting anything.

Please help if that’s possible