Make sure to clone on deploy as well
This commit is contained in:
		
							
								
								
									
										5
									
								
								abra
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								abra
									
									
									
									
									
								
							| @ -502,6 +502,8 @@ sub_app_deploy (){ | ||||
|   load_instance | ||||
|   load_instance_env | ||||
|  | ||||
|   require_app_clone "$APP" | ||||
|  | ||||
|   echo "About to deploy:" | ||||
|   echo "  Server: $(tput setaf 4)${SERVER}$(tput sgr0)" | ||||
|   if [ "${COMPOSE_FILE/:/}" == "${COMPOSE_FILE}" ]; then | ||||
| @ -521,6 +523,9 @@ sub_app_deploy (){ | ||||
|  | ||||
|   prompt_confirm | ||||
|  | ||||
|   APP=$(basename "$APP_DIR") | ||||
|   require_app_clone "$APP" | ||||
|  | ||||
|   ( | ||||
|     cd "$APP_DIR" || error "\$APP_DIR '$APP_DIR' not found" | ||||
|     # shellcheck disable=SC2086 | ||||
|  | ||||
		Reference in New Issue
	
	Block a user