core/tools/deploy
2023-07-31 11:44:25 +02:00

20 lines
286 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 \
--exclude 'node_modules' \
--verbose \
build/ \
${target_ssh_handle}:/opt/heimdall