File tree 1 file changed +6
-7
lines changed
1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 20
20
name : Build and deploy ASP.Net Core app to an Azure Web App
21
21
22
22
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
24
24
AZURE_WEBAPP_PACKAGE_PATH : ' .' # set this to the path to your web app project, defaults to the repository root
25
25
DOTNET_VERSION : ' 6.0.x' # set this to the .NET Core version to use
26
26
29
29
branches : none
30
30
workflow_dispatch :
31
31
32
- permissions :
33
- contents : read
34
-
35
32
jobs :
36
33
build :
37
34
runs-on : ubuntu-latest
38
35
36
+ defaults :
37
+ run :
38
+ working-directory : 03-app-dotnet
39
+
39
40
steps :
40
- - uses : actions/checkout@v4
41
+ - uses : actions/checkout@v3
41
42
42
43
- name : Set up .NET Core
43
44
uses : actions/setup-dotnet@v2
65
66
path : ${{env.DOTNET_ROOT}}/myapp
66
67
67
68
deploy :
68
- permissions :
69
- contents : none
70
69
runs-on : ubuntu-latest
71
70
needs : build
72
71
environment :
You can’t perform that action at this time.
0 commit comments