Skip to content

Commit b4f4408

Browse files
authored
Update azure-webapps-dotnet-core.yml
1 parent d699595 commit b4f4408

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.github/workflows/azure-webapps-dotnet-core.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
name: Build and deploy ASP.Net Core app to an Azure Web App
2121

2222
env:
23-
AZURE_WEBAPP_NAME: github-actions-workflow # set this to the name of your Azure Web App
23+
AZURE_WEBAPP_NAME: github-actions-workflows # set this to the name of your Azure Web App
2424
AZURE_WEBAPP_PACKAGE_PATH: '.' # set this to the path to your web app project, defaults to the repository root
2525
DOTNET_VERSION: '6.0.x' # set this to the .NET Core version to use
2626

@@ -29,15 +29,16 @@ on:
2929
branches: none
3030
workflow_dispatch:
3131

32-
permissions:
33-
contents: read
34-
3532
jobs:
3633
build:
3734
runs-on: ubuntu-latest
3835

36+
defaults:
37+
run:
38+
working-directory: 03-app-dotnet
39+
3940
steps:
40-
- uses: actions/checkout@v4
41+
- uses: actions/checkout@v3
4142

4243
- name: Set up .NET Core
4344
uses: actions/setup-dotnet@v2
@@ -65,8 +66,6 @@ jobs:
6566
path: ${{env.DOTNET_ROOT}}/myapp
6667

6768
deploy:
68-
permissions:
69-
contents: none
7069
runs-on: ubuntu-latest
7170
needs: build
7271
environment:

0 commit comments

Comments
 (0)