Execute shell scripts on remote machines
Learn how to execute scripts and executables when webhooks are received.
Sometimes you need to run scripts on remote machines triggered by webhooks from Github, DockerHub or just Slack slash command. To do that, you can use
relay forwardcommand with
relay forward --bucket my-bucket-name --relayer exec --command bash update.sh
Where update.sh contents:
docker-compose up -d
This would pull latest manifest of your docker-compose.yml and restart containers with new versions.