From 324c0cc77d7a01e48053bb7ae3f7ac6e5fedb778 Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Sun, 8 Aug 2021 17:14:08 +0200 Subject: [PATCH] fixup! fixup! build: makefile: add deploy step --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index f123d87..0016cbe 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ serve: deploy: @if [ -n "$$SSH_KEY" ]; then eval "$$(ssh-agent)"; echo "$$SSH_KEY" | ssh-add -; fi @if [ -z "$$SSH_USER" ] || [ -z "$$SSH_HOST" ] || [ -z "$$SSH_TARGET" ]; \ - then echo "Missing one of SSH_USER, SSH_HOST, or TARGET" >&2; \ + then echo "Missing one of SSH_USER, SSH_HOST, or SSH_TARGET" >&2; \ exit 1; \ fi rsync --progress -avz --delete public/ "$$SSH_USER@$$SSH_HOST:$$TARGET"