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 forward
command with --relayer exec
option:
Where update.sh contents:
This would pull latest manifest of your docker-compose.yml and restart containers with new versions.
Last updated