2022-11-30 18:01:06 +01:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
2022-11-30 23:01:16 +01:00
|
|
|
## args
|
|
|
|
|
|
|
|
|
|
if [ $# -ge 1 ] ; then target_ssh_handle=$1 && shift ; else target_ssh_handle="gs-monitoring" ; fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## exec
|
|
|
|
|
|
2023-07-27 18:25:04 +02:00
|
|
|
rsync \
|
|
|
|
|
--rsh=ssh \
|
|
|
|
|
--recursive \
|
|
|
|
|
--update \
|
|
|
|
|
--delete \
|
2023-07-31 11:44:25 +02:00
|
|
|
--exclude 'node_modules' \
|
|
|
|
|
--verbose \
|
2023-07-27 18:25:04 +02:00
|
|
|
build/ \
|
|
|
|
|
${target_ssh_handle}:/opt/heimdall
|
2022-11-30 18:01:06 +01:00
|
|
|
|