fix uploading for new server

This commit is contained in:
Rhiannon Morris 2025-03-07 20:16:49 +01:00
parent ba3e305260
commit 3e7c728039

View file

@ -22,7 +22,8 @@ BUILDDIR ?= /srv/www/yummy
TMPDIR ?= _tmp
HOST ?= yummy.cricket
REMOTE_USER ?= www-data
SSH_PORT ?= 35353
REMOTE_USER ?= nginx
REMOTE_DIR ?= yummy
all: build
@ -33,7 +34,7 @@ upload: build
@rsync --recursive --partial --progress --copy-links \
--compress --human-readable --hard-links \
--delete --delete-after \
--rsh='ssh -l $(REMOTE_USER)' \
--rsh='ssh -l $(REMOTE_USER) -p $(SSH_PORT)' \
$(BUILDDIR)/ $(HOST):$(REMOTE_DIR)/
$(BUILDDIR)/%: %