core/tools/deploy
2023-07-27 18:25:04 +02:00

18 lines
245 B
Bash
Executable file

#!/usr/bin/env sh
## args
if [ $# -ge 1 ] ; then target_ssh_handle=$1 && shift ; else target_ssh_handle="gs-monitoring" ; fi
## exec
rsync \
--rsh=ssh \
--recursive \
--update \
--delete \
build/ \
${target_ssh_handle}:/opt/heimdall