#!/bin/bash

set -e

HOST=yuca.yunity.org

echo "sending [public] to [$HOST]"

rsync -av --delete public deploy@$HOST:public

#!/bin/bash

set -e

HOST=yuca.yunity.org

echo "sending [public] to [$HOST]"

rsync -av --delete public/ deploy@$HOST:public/

Use trailing slash for rsync
Use trailing slash for rsync
