Makefile hinzugefügt
authorMalte Bublitz <malte@rolltreppe3.de>
Sun, 2 Oct 2022 20:18:06 +0000 (22:18 +0200)
committerMalte Bublitz <malte@rolltreppe3.de>
Sun, 2 Oct 2022 20:18:06 +0000 (22:18 +0200)
Makefile [new file with mode: 0644]

diff --git a/Makefile b/Makefile
new file mode 100644 (file)
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
+