Skip to content

Commit

Permalink
note on the required uniqueness of the 'name' property; ignore change…
Browse files Browse the repository at this point in the history
…d to documentation
  • Loading branch information
gretel committed Feb 27, 2024
1 parent a575a82 commit da22915
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/azure-webapps-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ env:
on:
push:
branches: [ 'main' ]
paths-ignore:
- '**/README.md'
workflow_dispatch:

jobs:
Expand Down
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,19 @@ az config set defaults.location=germanywestcentral
Please read the according [documentation](https://learn.microsoft.com/en-us/azure/app-service/quickstart-python) first!

```shell
az webapp up --location germanywestcentral --name cbwham-training-flask --runtime PYTHON:3.11 --sku B1 --only-show-errors
az webapp up --location germanywestcentral --name my-training-flask --runtime PYTHON:3.11 --sku B1 --only-show-errors
```

Note: `name` needs to be __unique__ Azure-wide!

### Example Output

```json
{
"URL": "http://cbwham-training-flask.azurewebsites.net",
"URL": "http://my-training-flask.azurewebsites.net",
"appserviceplan": "office_asp_3158",
"location": "germanywestcentral",
"name": "cbwham-training-flask",
"name": "my-training-flask",
"os": "Linux",
"resourcegroup": "office_rg_5180",
"runtime_version": "PYTHON|3.11",
Expand Down

0 comments on commit da22915

Please sign in to comment.