Closed dejury closed 9 months ago
Maybe like this:
/*
* Lasso can also trigger Webhooks after its commands have been
* successfully executed. You may specify URLs that Lasso will POST
* to, for each of the commands.
*/
'webhooks' => [
/*
* Specify which webhooks should be triggered after a successful
* "php artisan lasso:publish" command execution.
*/
'publish' => [
'staging' => [], //only if lass_env = staging
'production' => [], // only if lasso_env = production
'always' => [] // always execute
],
/*
* Specify which webhooks should be triggered after a successful
* "php artisan lasso:pull" command execution.
*/
'pull' => [
//
],
],
Ooh I love this idea! Thanks for the suggestion, I will consider adding this over the next coming weeks
Really appreciate this idea. I'm going to close this issue for now but will let you know if this is added in a future release.
It would be nice to set publish and pull webhooks per lasso_env. For example when using envoyer, i would like to trigger another project when going to staging.