Skip to content

Commit c5ea713

Browse files
authored
Update main_asyncdemo.yml
1 parent b223ea7 commit c5ea713

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed

Diff for: .github/workflows/main_asyncdemo.yml

+10-7
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@ on:
99
- main
1010
workflow_dispatch:
1111

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+
1216
jobs:
1317
build:
1418
runs-on: ubuntu-latest
@@ -41,7 +45,7 @@ jobs:
4145
name: 'Production'
4246
url: ${{ steps.deploy-to-webapp.outputs.webapp-url }}
4347
permissions:
44-
id-token: write #This is required for requesting the JWT
48+
id-token: write # Required for requesting JWT
4549

4650
steps:
4751
- name: Download artifact from build job
@@ -57,6 +61,9 @@ jobs:
5761
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_00961B2B79B24116869CF73A23B84BF8 }}
5862
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_25C5AF7C5C834607B6903EF990756BD2 }}
5963

64+
- name: Debug - List myapp directory contents
65+
run: ls -la myapp
66+
6067
- name: Deploy to Azure Web App
6168
id: deploy-to-webapp
6269
uses: azure/webapps-deploy@v2
@@ -65,9 +72,5 @@ jobs:
6572
slot-name: 'Production'
6673
package: myapp
6774

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

0 commit comments

Comments
 (0)