Improve Makefile again
This commit is contained in:
parent
39700b2277
commit
5051d7ff87
1 changed files with 23 additions and 23 deletions
46
Makefile
46
Makefile
|
@ -67,30 +67,30 @@ deploy:
|
||||||
|
|
||||||
|
|
||||||
pull:
|
pull:
|
||||||
if git config remote.github.url > /dev/null; then
|
if git config remote.github.url > /dev/null; then \
|
||||||
git pull github main
|
git pull github main; \
|
||||||
else
|
else \
|
||||||
git remote add github https://github.com/c3woc/c3woc-website.git
|
git remote add github https://github.com/c3woc/c3woc-website.git; \
|
||||||
git pull github main
|
git pull github main; \
|
||||||
fi
|
fi; \
|
||||||
if git config remote.backwesen.url > /dev/null; then
|
if git config remote.backwesen.url > /dev/null; then \
|
||||||
git pull backwesen main
|
git pull backwesen main; \
|
||||||
else
|
else \
|
||||||
git remote add backwesen https://backwesen.de/c3woc/webseite.git
|
git remote add backwesen https://backwesen.de/c3woc/webseite.git; \
|
||||||
git pull backwesen main
|
git pull backwesen main; \
|
||||||
fi
|
fi; \
|
||||||
git pull origin main
|
git pull origin main
|
||||||
|
|
||||||
push:
|
push:
|
||||||
if git config remote.github.url > /dev/null; then
|
if git config remote.github.url > /dev/null; then \
|
||||||
git push github main
|
git push github main; \
|
||||||
else
|
else \
|
||||||
git remote add github https://github.com/c3woc/c3woc-website.git
|
git remote add github https://github.com/c3woc/c3woc-website.git; \
|
||||||
git push github main
|
git push github main; \
|
||||||
fi
|
fi; \
|
||||||
if git config remote.backwesen.url > /dev/null; then
|
if git config remote.backwesen.url > /dev/null; then \
|
||||||
git push backwesen main
|
git push backwesen main; \
|
||||||
else
|
else \
|
||||||
git remote add backwesen https://backwesen.de/l3d/webseite.git
|
git remote add backwesen https://backwesen.de/l3d/webseite.git; \
|
||||||
git push github main
|
git push github main; \
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue