#!/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

