Makefile
This commit is contained in:
parent
7050336414
commit
61af852fbd
1 changed files with 14 additions and 0 deletions
14
Makefile
14
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue