From b65ac37a9328f39b0b6bd4b8e3aacd93869e3da9 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Fri, 24 Mar 2023 13:47:17 -0400 Subject: [PATCH] Remove `up` target from Makefile Using webhooks from the git repo now, so this is unnecessary --- Makefile | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/Makefile b/Makefile index 48ebb08..b7de20d 100644 --- a/Makefile +++ b/Makefile @@ -9,11 +9,6 @@ OUTPUTDIR=$(BASEDIR)/output CONFFILE=$(BASEDIR)/pelicanconf.py PUBLISHCONF=$(BASEDIR)/publishconf.py -SSH_HOST=ag -SSH_GIT_DIR=/srv/git/blag.git -SSH_TARGET_DIR=/srv/http/blag -SSH_TMP_DIR=/tmp/blag - DEBUG ?= 0 ifeq ($(DEBUG), 1) PELICANOPTS += -D @@ -53,12 +48,5 @@ serve: publish: $(PELICAN) $(INPUTDIR) -o $(OUTPUTDIR) -s $(PUBLISHCONF) $(PELICANOPTS) -up: - git push - ssh ag "[ ! -d $(SSH_TMP_DIR) ] && \ - {git clone $(SSH_GIT_DIR) $(SSH_TMP_DIR) && cd /tmp/blag/ } || \ - {cd $(SSH_TMP_DIR) && git pull}; \ - make publish OUTPUTDIR=/srv/http/blag" - -.PHONY: html help clean regenerate serve publish up +.PHONY: html help clean regenerate serve publish