commit a7f252cf3b9a2a37aad6b9c0d43ba3eb34da16cf (patch)
parent 258f46aa0d767c6a3c3eec0200a0c9d19c31f4bc
Author: Alex Karle <alex@karle.co>
Date: Mon, 25 May 2020 20:34:38 -0400
make: Switch from scp to rsync for release recipe
This is not only more efficient, it also opens the door to more options
for deployment (i.e. --delete to make sure cruft doesn't build up).
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -33,7 +33,7 @@ build: .public.ts $(LIB_FILES) gloat.pl
.PHONY: release
release: build test
- scp -r build/* www@euchre.live:/var/www/euchre-live
+ rsync -av --delete build/ www@euchre.live:/var/www/euchre-live/
ssh www@euchre.live env FORCE=$(FORCE) sh /var/www/deploy.sh
.PHONY: clean