Configuring post-deployment commands
To set commands to run after deployments complete, use the postrun
parameter.
This parameter accepts the full command as an array of strings, which can be used as an argument vector. You can set this parameter only once. For example:
postrun: ['/usr/bin/curl', '-F', 'deploy=done', 'http://my-app.site/endpoint']