File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change 9
9
- main
10
10
workflow_dispatch :
11
11
12
+ env :
13
+ ACTIONS_STEP_DEBUG : true # Enable step debugging for detailed logs
14
+ AZURE_HTTP_USER_AGENT : " GITHUB_ACTIONS" # Helps track requests coming from GitHub Actions in Azure logs
15
+
12
16
jobs :
13
17
build :
14
18
runs-on : ubuntu-latest
41
45
name : ' Production'
42
46
url : ${{ steps.deploy-to-webapp.outputs.webapp-url }}
43
47
permissions :
44
- id-token : write # This is required for requesting the JWT
48
+ id-token : write # Required for requesting JWT
45
49
46
50
steps :
47
51
- name : Download artifact from build job
57
61
tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_00961B2B79B24116869CF73A23B84BF8 }}
58
62
subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_25C5AF7C5C834607B6903EF990756BD2 }}
59
63
64
+ - name : Debug - List myapp directory contents
65
+ run : ls -la myapp
66
+
60
67
- name : Deploy to Azure Web App
61
68
id : deploy-to-webapp
62
69
uses : azure/webapps-deploy@v2
65
72
slot-name : ' Production'
66
73
package : myapp
67
74
68
- - name : Debug - List myapp directory contents
69
- run : ls -la myapp
70
-
71
- # Add the following to enable step debug logging if needed
72
- env :
73
- ACTIONS_STEP_DEBUG : true
75
+ - name : Debug - List directory contents after deployment
76
+ run : ls -la
You can’t perform that action at this time.
0 commit comments