From 61af852fbd8c791fb9fabb78f9f2604f361676e0 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 22 Dec 2019 11:54:48 +0100 Subject: [PATCH] Makefile --- Makefile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Makefile b/Makefile index fbccd41..6f99626 100644 --- a/Makefile +++ b/Makefile @@ -33,3 +33,17 @@ deploy: lektor plugin flush-cache lektor build $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS) lektor deploy $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS) + +pull: + if git config remote.github.url > /dev/null; then + git pull github master + else + git remote add github git@github.com:c3woc/c3woc-website.git + git pull github master + fi + if git config remote.gitea.url > /dev/null; then + git pull gitea master + else + git remote add gitea gitea@gitea.see-base.de:C3WOC/c3woc-webseite.git + git pull gitea master + fi