https://github.com/cloudacademy/azure-app-service-github
https://github.com/cloudacademy/azure-app-service-github
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cloudacademy/azure-app-service-github
- Owner: cloudacademy
- Created: 2021-11-16T02:04:48.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-16T20:23:50.000Z (over 4 years ago)
- Last Synced: 2025-06-21T04:48:29.205Z (about 1 year ago)
- Homepage:
- Size: 1.5 MB
- Stars: 5
- Watchers: 4
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Deploying Code from GitHub to Azure App Service
This file contains URLs from the demos in Cloud Academy's _Deploying Code from GitHub to Azure App Service_ course.
### Create a resource group
```
az group create --name webapprg --location westus
```
### Create an App Service Plan
```
az appservice plan create --name asplan --resource-group webapprg --location westus --sku F1
```
### Create a webapp
```
az webapp create --name --resource-group webapprg --plan asplan
```
### Deploy an app from GitHub to Azure App Service
```
az webapp deployment source config --repo-url https://github.com/Azure-Samples/html-docs-hello-world --branch master --manual-integration --name --resource-group webapprg
```
### URL of webapp
https://.azurewebsites.net