From 4d048ed871b76749b2804e6c61cd1da41ea32df4 Mon Sep 17 00:00:00 2001 From: Dmitriy Shesterkin Date: Tue, 27 Jun 2017 14:14:13 +0300 Subject: [PATCH] add make command for deploy --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 1f1c4a8..98cff5d 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: all help build virtualenv requirements-local loaddata run migrate shell collectstatic clean worker qa +.PHONY: all help build virtualenv requirements-local loaddata run migrate shell collectstatic clean worker qa update-develop # target: all - Default target. Does nothing. all: @@ -73,3 +73,8 @@ worker: # target: qa - Run pytest qa: pytest + +# target: update-develop - Run push change in repo develop branch and deploy for develop server +update-develop: + git push origin develop + fab update