Better to see commands here

This commit is contained in:
2017-06-08 17:16:34 +02:00
parent e95de6a9c3
commit 15d050c8f9

View File

@ -33,11 +33,11 @@ bin/output/wwwroot/version: bin/output
@git log -1 --pretty=format:%h > bin/output/wwwroot/version
pushInPre: bin/output/wwwroot/version
@ssh root@localhost systemctl stop kestrel-pre
@ssh root@localhost rm -rf $(DESTDIR)/approot
@(cd bin/output && rsync -ravu ./ root@localhost:$(DESTDIR) >/dev/null)
@ssh root@localhost sync
@ssh root@localhost systemctl start kestrel-pre
ssh root@localhost systemctl stop kestrel-pre
ssh root@localhost rm -rf $(DESTDIR)/approot
(cd bin/output && rsync -ravu ./ root@localhost:$(DESTDIR) >/dev/null)
ssh root@localhost sync
ssh root@localhost systemctl start kestrel-pre
pushInProd: bin/output/wwwroot/version
ifeq ($(git_status),0)