From bc1a88b66ede1d8a5878c8d2e1938d4b6d6ba32c Mon Sep 17 00:00:00 2001 From: Alex Karle Date: Sun, 21 Jun 2020 11:15:26 -0400 Subject: [PATCH] make: Update release recipes for new user/host I recently migrated from a Linode Alpine Linux VM to a Vultr OpenBSD VM, and in the process the username/location of the installation on the server has changed. Updating the makefile accordingly. --- Makefile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 997374d..c3781fe 100644 --- a/Makefile +++ b/Makefile @@ -35,14 +35,14 @@ release: build test git show HEAD --pretty=full -s |\ sed 's/\(Author\|Commit\): \([^<]\+\).*/\1: \2/' > build/public/version.txt rsync -av --delete --rsh="ssh -o StrictHostKeyChecking=no" \ - build/ www@euchre.live:/var/www/preprod-el/ - ssh -o StrictHostKeyChecking=no www@euchre.live \ - env FORCE=$(FORCE) sh /var/www/restart.sh preprod + build/ _euchre@euchre.live:preprod-el/ + ssh -o StrictHostKeyChecking=no _euchre@euchre.live \ + env FORCE=$(FORCE) sh restart.sh preprod .PHONY: release-prod release-prod: release - ssh -o StrictHostKeyChecking=no www@euchre.live \ - env FORCE=$(FORCE) UPDATE=1 sh /var/www/restart.sh prod + ssh -o StrictHostKeyChecking=no _euchre@euchre.live \ + env FORCE=$(FORCE) UPDATE=1 sh restart.sh prod .PHONY: clean clean: -- libgit2 1.1.1