This commit is contained in:
L3D 2019-12-22 11:54:48 +01:00
parent 7050336414
commit 61af852fbd
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -33,3 +33,17 @@ deploy:
lektor plugin flush-cache lektor plugin flush-cache
lektor build $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS) lektor build $(LEKTOR_PLUGIN_FLAGS) $(LEKTOR_DEPLOY_FLAGS)
lektor deploy $(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