From da862d879be7856c6ee49c1dc514baf23651ac98 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 8 Nov 2021 22:01:58 +0100 Subject: [PATCH] =?UTF-8?q?makefile/=E2=88=92ssh?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 5df42a1..dbfd58f 100644 --- a/Makefile +++ b/Makefile @@ -8,11 +8,6 @@ OUTPUTDIR=$(BASEDIR)/output CONFFILE=$(BASEDIR)/pelicanconf.py PUBLISHCONF=$(BASEDIR)/publishconf.py -SSH_HOST=rwx.work -SSH_PORT=22 -SSH_USER=user -SSH_TARGET_DIR=/ssd/projects/public/rwx.work/blog - DEBUG ?= 0 ifeq ($(DEBUG), 1) @@ -76,11 +71,5 @@ endif publish: $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS) -ssh_upload: publish - scp -P $(SSH_PORT) -r $(OUTPUTDIR)/* $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) -rsync_upload: publish - rsync -e "ssh -p $(SSH_PORT)" -P -rvzc --cvs-exclude --delete $(OUTPUTDIR)/ $(SSH_USER)@$(SSH_HOST):$(SSH_TARGET_DIR) - - -.PHONY: html help clean regenerate serve serve-global devserver stopserver publish ssh_upload rsync_upload \ No newline at end of file +.PHONY: html help clean regenerate serve serve-global devserver stopserver publish \ No newline at end of file