Quantcast
Channel: Azure Management Portal forum
Viewing all articles
Browse latest Browse all 4189

Modify %DEPLOYMENT_TARGET% for bitbucket continuous deployment

$
0
0

I've been struggling with trying to set up a continuous deployment from source control for just a wordpress theme to my Azure site. I don't want to source control the wordpress install.

It seems that Azure only allows continuous deployment to the root folder /wwwroot.

However after setting up a different site which did need continuous deployment from the root, I checked the depolyment logs, where a from  and to path are declared.

After digging about in the deployment folder, I've found the following line in the deploy.cmd file

This is where to is set as %DEPLOYMENT_TARGET%

IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" (
  call :ExecuteCmd "%KUDU_SYNC_CMD%" -v 50 -f "%DEPLOYMENT_SOURCE%" -t "%DEPLOYMENT_TARGET%" -n "%NEXT_MANIFEST_PATH%" -p "%PREVIOUS_MANIFEST_PATH%" -i ".git;.hg;.deployment;deploy.cmd"
  IF !ERRORLEVEL! NEQ 0 goto error
)

So would I be correct in assuming that somewhere in the site setup there will be a way to update %DEPLOYMENT_TARGET%. possibly in the command line?

Thanks


Viewing all articles
Browse latest Browse all 4189

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>