File tree 1 file changed +14
-12
lines changed
1 file changed +14
-12
lines changed Original file line number Diff line number Diff line change @@ -23,37 +23,39 @@ jobs:
23
23
24
24
- name : Build with dotnet
25
25
run : dotnet build --configuration Release
26
+ working-directory : WMS.WebUI
26
27
27
28
- name : dotnet publish
28
- run : dotnet publish -c Release -o ${{env.DOTNET_ROOT}}/myapp
29
+ run : dotnet publish -c Release -o ${{env.GITHUB_WORKSPACE}}\myapp
30
+ working-directory : WMS.WebUI
29
31
30
32
- name : Upload artifact for deployment job
31
33
uses : actions/upload-artifact@v4
32
34
with :
33
35
name : .net-app
34
- path : ${{env.DOTNET_ROOT}}/ myapp
36
+ path : ${{env.GITHUB_WORKSPACE}}\ myapp
35
37
36
38
deploy :
37
39
runs-on : windows-latest
38
40
needs : build
39
41
environment :
40
42
name : ' Production'
41
43
url : ${{ steps.deploy-to-webapp.outputs.webapp-url }}
42
- permissions :
43
- id-token : write # This is required for requesting the JWT
44
+ permissions :
45
+ id-token : write # This is required for requesting the JWT
44
46
45
47
steps :
46
48
- name : Download artifact from build job
47
49
uses : actions/download-artifact@v4
48
50
with :
49
51
name : .net-app
50
-
51
- - name : Login to Azure
52
- uses : azure/login@v2
53
- with :
54
- client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_CF1C6DFFF15946BBA2FA2C10E382A358 }}
55
- tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_3EB382EFBCE64A4BBE0B6DF56D5F4DB8 }}
56
- subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_8842B7261F5343D491289BAA71366B39 }}
52
+
53
+ - name : Login to Azure
54
+ uses : azure/login@v2
55
+ with :
56
+ client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_CF1C6DFFF15946BBA2FA2C10E382A358 }}
57
+ tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_3EB382EFBCE64A4BBE0B6DF56D5F4DB8 }}
58
+ subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_8842B7261F5343D491289BAA71366B39 }}
57
59
58
60
- name : Deploy to Azure Web App
59
61
id : deploy-to-webapp
62
64
app-name : ' wms-uz'
63
65
slot-name : ' Production'
64
66
package : .
65
-
67
+
You can’t perform that action at this time.
0 commit comments