commit bc1a88b66ede1d8a5878c8d2e1938d4b6d6ba32c (patch)
parent 73349f4b30878eb31b54e3eb171b37562f8e5684
Author: Alex Karle <alex@karle.co>
Date: Sun, 21 Jun 2020 11:15:26 -0400
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.
Diffstat:
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/Makefile b/Makefile
@@ -35,14 +35,14 @@ release: build test
git show HEAD --pretty=full -s |\
sed 's/\(Author\|Commit\): \([^<]\+\).*/\1: \2<redacted>/' > 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: