Skip to content

Commit bfc915b

Browse files
Update main_ai-dslab-backend.yml
1 parent e17a2e6 commit bfc915b

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

.github/workflows/main_ai-dslab-backend.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# Docs for the Azure Web Apps Deploy action: https://github.com/Azure/webapps-deploy
2-
# More GitHub Actions for Azure: https://github.com/Azure/actions
3-
# More info on Python, GitHub Actions, and Azure App Service: https://aka.ms/python-webapps-actions
4-
51
name: Build and deploy Python app to Azure Web App - ai-dslab-backend
62

73
on:
@@ -10,6 +6,10 @@ on:
106
- main
117
workflow_dispatch:
128

9+
permissions:
10+
id-token: write # Needed for OIDC login
11+
contents: read # Needed to checkout code
12+
1313
jobs:
1414
build-and-deploy:
1515
runs-on: ubuntu-latest
@@ -32,9 +32,9 @@ jobs:
3232
- name: Login to Azure
3333
uses: azure/login@v2
3434
with:
35-
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_1FAE509EB83D4609AE36AC7F0F996753 }}
36-
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_1CAD4C5815F74749A836FC494CB56088 }}
37-
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_BF92A8605B30418D89D037A4530EF5D2 }}
35+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_XXXX }}
36+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_XXXX }}
37+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_XXXX }}
3838

3939
- name: Deploy to Azure Web App
4040
uses: azure/webapps-deploy@v3

0 commit comments

Comments
 (0)