all: build deploy build: cd gospeladlershof.de && make build deploy: @if [ -d /var/www/gospeladlershof.de ]; then\ rsync --delete --exclude=secrets.php --exclude=json -avz intern/ /var/www/gospeladlershof.de/intern/ && \ cd gospeladlershof.de && rsync --delete -avz public/ /var/www/gospeladlershof.de/gospeladlershof.de/; \ else \ echo rsync --delete -avze ssh intern/ online:/var/www/gospeladlershof.de/intern/ && \ cd gospeladlershof.de && rsync --delete --exclude=secrets.php --exclude=json -avze ssh public/ online:/var/www/gospeladlershof.de/gospeladlershof.de/; \ fi