How to deploy compiled elements Azure Web App with Appveyor?

0 votes
I'm deploying a Web App into Azure with Appveyor, but all componentes is compiled with grunt, build and deploy is succesfuly, the problem is the bower_components folder and generated files and folders by grunt not deployed.

My code:


  - Sigma.Website\node_modules -> Sigma.Website\package.json


  - npm install -g grunt-cli  1> nul


  - ps: .\CreateBuildTxt.ps1  

  - nuget restore

  - cmd: |

          cd Sigma.Website

          npm install


          cd ..


  publish_wap: true

#Deployment configuration


- provider: WebDeploy


  website: sigma

  username: $sigma


    secure: xxxxxx

  ntlm: false

  remove_files: false

  app_offline: false

  artifact: Sigma.Website


    branch: master


  - provider: Slack

    incoming_webhook: xxxx

    channel: '#sigma-dev'

    on_build_success: true

    on_build_failure: true
Jul 12, 2018 in DevOps on Cloud by Nilesh
• 6,900 points

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes
Add the following BeforeBuild target to Web Application's .csproj (or .vbproj):

<Target Name="BeforeBuild">


    <Content Include="bower_components\**\*.*" />


answered Jul 12, 2018 by Kalgi
• 2,620 points

Related Questions In DevOps on Cloud

0 votes
1 answer
0 votes
1 answer
+2 votes
3 answers

How do I deploy Scala PlayFramework Project to IBM Bluemix

It seems that they are more than ...READ MORE

answered Oct 18, 2018 in DevOps on Cloud by lina
• 8,100 points
0 votes
1 answer

how to safely deploy npm install without it causing inconsistencies?

The recent versions on npm generates a ...READ MORE

answered Apr 11, 2018 in DevOps on Cloud by DareDev
• 6,520 points
0 votes
1 answer

How to manage Application version for VM&#39;s in Azure Autoscaling group

First of all, You have to launch ...READ MORE

answered Apr 23, 2018 in DevOps on Cloud by shubham
• 6,480 points
0 votes
1 answer

How to control development/prod/staging application settings using azure functions?

You should use a build-release system like ...READ MORE

answered May 10, 2018 in DevOps on Cloud by ajs3033
• 7,000 points
+13 votes
2 answers
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.