title: Do I have to zip up the artifacts before deploying to Azure App Service?
body: <p>I am currently finishing up creating a CI dev pipeline and referencing the following documentations</p>
  <ul>
  <li><a href="https://www.andreasnesheim.no/using-vsts-and-github-to-set-up-cicd-for-your-node-js-grunt-application/" rel="nofollow noreferrer">https://www.andreasnesheim.no/using-vsts-and-github-to-set-up-cicd-for-your-node-js-grunt-application/</a></li>
  <li><a href="https://www.c-sharpcorner.com/blogs/creating-cicd-pipeline-for-angular-and-hosting-in-azure-app-service" rel="nofollow noreferrer">https://www.c-sharpcorner.com/blogs/creating-cicd-pipeline-for-angular-and-hosting-in-azure-app-service</a></li>
  <li><a href="https://azuredevopslabs.com/labs/vsts/nodejs/" rel="nofollow noreferrer">https://azuredevopslabs.com/labs/vsts/nodejs/</a></li>
  <li><a href="https://morioh.com/p/0d80bfd8ea27" rel="nofollow noreferrer">https://morioh.com/p/0d80bfd8ea27</a></li>
  </ul>
  <p>The references all show that the artifacts get zipped up first, published, then deployed.</p>
  <p>However, the project developer told me that after the .NET build, he just copies/deploys the generated AngularOutput artifacts to the Azure app service.</p>
  <p>I tested it that way with archive task then publish, and the CI pipeline worked just fine. However, I also tested out publishing directly without prior archiving, and i changed the path to <code>\Bundles\AngularOutput</code>, and the publish step succeeded just fine and displayed the published artifacts</p>
  <p><a href="https://i.stack.imgur.com/I9hsP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/I9hsP.png" alt="replaced" /></a>
  <a href="https://i.stack.imgur.com/Ly6zz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Ly6zz.png" alt="artifacts published" /></a></p>
  <p>So the question is, if publish works without zipping/archiving first, then <em><strong>can I directly deploy after the artifacts are published? and if so, what needs to be specified for the <code>Azure App Service Deploy task: Package/Folder</code>?</strong></em></p>
  <p><a href="https://i.stack.imgur.com/nMRo3.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nMRo3.png" alt="pipeline snapshot" /></a></p>
  <p>If archiving task is necessary/recommended, thats fine, but does that means Azure App Service deploy will automatically extract the zipped up artifact?</p>