webhook
webhook copied to clipboard
Command execution in multiple directories
Hello, is it possible to make when the webhook is activated execute a command in more than 1 directory in the same webhook?
Could you use cd command in your wrapper shell script?
i.e.
#!/bin/sh
cd /home/user/foo
command1
cd /home/user/bar
command2
webhook only supports executing a single command per request. As @adnanh suggested, anything more complicated than that will need to happen within your external command.