Add git push to default build/push process

This commit is contained in:
Nico Schottelius 2021-12-05 14:24:25 +01:00
parent 40db12d934
commit 3f1b56b6c7
1 changed files with 7 additions and 1 deletions

View File

@ -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