question

stewartjahik-4685 avatar image
0 Votes"
stewartjahik-4685 asked ajkuma-MSFT commented

“Time to take the next step and deploy your code” but I have already deployed my code

I am using Microsoft Azure with Github code but whenever I try to browse my site I get the "Time to take the next step and deploy your code" but I have already deployed my code." page even though I have deployed my code in Development Center and my file in Github is in Default Documents. What can I do to fix this?

azure-webapps
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ajkuma-MSFT avatar image
1 Vote"
ajkuma-MSFT answered ajkuma-MSFT commented

@stewartjahik-4685, Thanks for posting this good question.

1/3:

Typically, the default app appears because you either haven't deployed your app code to App Service, or App Service failed to find your app code and ran the default app instead. I understood that you have already reviewed the deployment code and default document. I’m not sure about the deployment framework of your WebApp. Kindly try these steps to further narrow-down the issue.

Try restarting the WebApp (if not done already(, wait 15-20 seconds, and then check.
Are you using Linux or Windows App Service?
**d:\home\site\wwwroot** - is the location where the sites files are saved.

Access Kudu Console and see if all the deployments are available as expected.
On App Service WebApp, you can copy (drag and drop the file into the site root/ d:\home\site\wwwroot\ folder) the via Kudu console (https://<yourwebpp-name>.scm.azurewebsites.net/) (\“Debug console”).


· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

3/3: Additional info

If you downloaded the files in a ZIP file, extract the files first. For example, if you downloaded a ZIP file from GitHub, you cannot deploy that file as-is.
GitHub adds additional nested directories, which do not work with App Service.

The process of building a web app and deploying to Azure App Service changes depending on the language.
Setting up the environment can be done using one of the setup actions. For all languages, you can set the web app root directory with working-directory.

App Service detects the language stack setting of your app and selects the most appropriate workflow template.
If you choose a different template, it may deploy an app that doesn't run properly.

Kindly let us know how it goes, I'll follow-up with you further.

0 Votes 0 ·

2/3:

Please review your deployment process, check the deployment logs (d:\home\site\deployments), correct any errors, and redeploy the app.

GitHub Actions is the default build provider. To change it, click Change provider > App Service Build Service (Kudu) > OK.

The process of building a web app and deploying to Azure App Service changes depending on the language. Setting up the environment can be done using one of the setup actions. For all languages, you can set the web app root directory with working-directory.

To get automated builds from Azure App Service build server, make sure that your repository root has the correct files in your project.
Prepare your repository : https://docs.microsoft.com/azure/app-service/deploy-continuous-deployment?tabs=github#prepare-your-repository



0 Votes 0 ·