Skip to content

Commit 06d1f56

Browse files
committed
Add or update the Azure App Service build and deployment workflow config
1 parent 41b5bb3 commit 06d1f56

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

.github/workflows/master_cipp5ddgz.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,27 @@ env:
1414

1515
jobs:
1616
deploy:
17-
runs-on: windows-latest
18-
17+
runs-on: ubuntu-latest
18+
permissions:
19+
id-token: write #This is required for requesting the JWT
20+
contents: read #This is required for actions/checkout
21+
1922
steps:
2023
- name: 'Checkout GitHub Action'
2124
uses: actions/checkout@v4
22-
25+
26+
- name: Login to Azure
27+
uses: azure/login@v2
28+
with:
29+
client-id: ${{ secrets.AZUREAPPSERVICE_CLIENTID_E5C7D9D919CD47FBB5656E32613587CD }}
30+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_254D3F4832C94B88890F30146E08D05F }}
31+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_C9BF24BE26CD4AD8B8E3DC2D1D1419F5 }}
32+
2333
- name: 'Run Azure Functions Action'
2434
uses: Azure/functions-action@v1
2535
id: fa
2636
with:
2737
app-name: 'cipp5ddgz'
2838
slot-name: 'Production'
2939
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
30-
31-
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_DA0E67A71E474378B9B6FE724F132FFD }}
40+

0 commit comments

Comments
 (0)