From 6681d2eefb14326dc2f8af6eac68d80eb18efc1c Mon Sep 17 00:00:00 2001 From: Rhiannon Morris Date: Tue, 3 Dec 2024 03:23:07 +0100 Subject: [PATCH] update build commands --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index b05d476..da95b7a 100644 --- a/Makefile +++ b/Makefile @@ -8,12 +8,11 @@ SCRIPTS = $(patsubst %.ts,%.js,$(wildcard script/*.ts)) MISC = $(shell find .well-known -type f) ALL = $(CSS) $(PAGES) $(MEDIA) $(SCRIPTS) $(MISC) -BUILDDIR ?= _build +BUILDDIR ?= /srv/www/yummy TMPDIR ?= _tmp HOST ?= yummy.cricket REMOTE_USER ?= www-data -IDFILE ?= ~/.ssh/xyz REMOTE_DIR ?= yummy all: build @@ -24,7 +23,7 @@ upload: build @rsync --recursive --partial --progress --copy-links \ --compress --human-readable --hard-links --size-only \ --delete --delete-after \ - --rsh='ssh -l $(REMOTE_USER) -i $(IDFILE)' \ + --rsh='ssh -l $(REMOTE_USER)' \ $(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/ $(BUILDDIR)/%: %