Permalink
Browse files

Deploy both apps simultaneously

Configured each app with its own deployment target which corresponds with a virtual application created in the Azure portal
  • Loading branch information...
doubleo2 committed Feb 17, 2017
1 parent 2ddb3b6 commit 2973d2ab2b4f24aeca58046cbe31ab585816fad3
Showing with 8 additions and 12 deletions.
  1. +2 −10 deploy.cmd
  2. +3 −1 deploy.mvc4.cmd
  3. +3 −1 deploy.node.cmd
View
@@ -1,12 +1,4 @@
@echo off
IF "%SITE_FLAVOR%" == "nodejs" (
deploy.node.cmd
) ELSE (
IF "%SITE_FLAVOR%" == "mvc4" (
deploy.mvc4.cmd
) ELSE (
echo You have to set SITE_FLAVOR setting to either "nodejs" or "mvc4"
exit /b 1
)
)
call deploy.node.cmd
call deploy.mvc4.cmd
View
@@ -26,7 +26,9 @@ IF NOT DEFINED DEPLOYMENT_SOURCE (
)
IF NOT DEFINED DEPLOYMENT_TARGET (
SET DEPLOYMENT_TARGET=%ARTIFACTS%\wwwroot
SET DEPLOYMENT_TARGET=%ARTIFACTS%\mvc4
) ELSE (
SET DEPLOYMENT_TARGET=%DEPLOYMENT_TARGET:wwwroot=mvc4%
)
IF NOT DEFINED NEXT_MANIFEST_PATH (
View
@@ -26,7 +26,9 @@ IF NOT DEFINED DEPLOYMENT_SOURCE (
)
IF NOT DEFINED DEPLOYMENT_TARGET (
SET DEPLOYMENT_TARGET=%ARTIFACTS%\wwwroot
SET DEPLOYMENT_TARGET=%ARTIFACTS%\nodejs
) ELSE (
SET DEPLOYMENT_TARGET=%DEPLOYMENT_TARGET:wwwroot=nodejs%
)
IF NOT DEFINED NEXT_MANIFEST_PATH (

0 comments on commit 2973d2a

Please sign in to comment.