introduced DEPLOY_PROJECT_DIR to specify project workdir under project path
This commit is contained in:
parent
ea3f38010c
commit
27f15d441a
2 changed files with 8 additions and 14 deletions
3
Makefile
3
Makefile
|
@ -1,4 +1,5 @@
|
|||
DEPLOY_START_DELAY = 0
|
||||
DEPLOY_PROJECT_DIR =
|
||||
|
||||
MANDATORY = DEPLOY_NAME DEPLOY_HOSTS DEPLOY_PATH SSH_USER
|
||||
|
||||
|
@ -11,6 +12,8 @@ ifeq ($(DEPLOY_TYPE), copy)
|
|||
DEPLOY_TYPE = simple
|
||||
endif
|
||||
|
||||
project_dir = $(DEPLOY_PATH)/$(DEPLOY_NAME)$(DEPLOY_PROJECT_DIR)
|
||||
|
||||
include make-deploy/$(DEPLOY_TYPE).mk
|
||||
|
||||
.PHONY: self-update mandatory cleanup prerequisites prepare build test deploy pre-deploy post-deploy pre-local post-local upload pull start stop restart reload notify
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue