Remove `up` target from Makefile

Using webhooks from the git repo now, so this is unnecessary
This commit is contained in:
Adam Goldsmith 2023-03-24 13:47:17 -04:00
parent 1a94ece546
commit b65ac37a93
1 changed files with 1 additions and 13 deletions

View File

@ -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