The following command uses the default tool in your terminal: # BashĬompress-Archive -Path * -DestinationPath. For dotnet projects, this folder is the output folder of the dotnet publish command. This step is required if you want to run your package directly.Ĭreate a ZIP archive of everything in your project.
Unless you want App Service to run deployment automation for you, run all the build tasks (for example, npm, bower, gulp, composer, and pip) and make sure that you have all the files you need to run the app. It can also contain package management files like project.json, composer.json, package.json, bower.json, and requirements.txt.
This directory should contain the entry file to your web app, such as index.html, index.php, and app.js. In a local terminal window, navigate to the root directory of your app project. GitHub adds additional nested directories, which do not work with App Service. For example, if you downloaded a ZIP package from GitHub, you cannot deploy that file as-is.
If you downloaded the files in a ZIP package, extract the files first.