From: Malte Bublitz Date: Sun, 2 Oct 2022 20:18:06 +0000 (+0200) Subject: Makefile hinzugefügt X-Git-Url: https://git.rt3x.de/?a=commitdiff_plain;h=0c61d45fe3643e7c12768fb3bf1bc81a5841694f;p=startseite.malte70.de.git Makefile hinzugefügt --- diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8c2b485 --- /dev/null +++ b/Makefile @@ -0,0 +1,16 @@ +REMOTE_HOST = web +REMOTE_PATH = /srv/http/malte70/startseite.malte70.de + +.PHONY: all git-pull git-push deploy + +all: git-push deploy + +git-pull: + git pull + +git-push: git-pull + git push + +deploy: + ssh $(REMOTE_HOST) cd $(REMOTE_PATH)\; git pull +