From 3f1b56b6c7766a0b7be054558e5be47ebb243c18 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 5 Dec 2021 14:24:25 +0100 Subject: [PATCH] Add git push to default build/push process --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5935ca1..b266c83 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,17 @@ BUILDDIR?=../ungleich-staticcms-build DESTINATION=ungleichstatic@staticweb.ungleich.ch:/home/services/www/ungleichstatic/staticcms.ungleich.ch/www/u/ -all: publish +all: goodpush pull: git pull +push: + git push + +goodpush: + make publish && make push + publish: pull build deploy deploy: permissions