Skip to content

Commit 284abe7

Browse files
committed
Add or update the Azure App Service build and deployment workflow config
1 parent 8528afb commit 284abe7

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/master_cipp5lm5f-standards.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +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_BD147EF95306447EBCE0641660117A0B }}
30+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_7B26B793244B454D92A8F4E40B1EAF65 }}
31+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_14E6EABED2864514813188251EEFA70B }}
32+
2333
- name: 'Run Azure Functions Action'
2434
uses: Azure/functions-action@v1
2535
id: fa
2636
with:
2737
app-name: 'cipp5lm5f-standards'
2838
slot-name: 'Production'
2939
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
30-
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_79A4AEB84C544951AAB74921AEC41BCC }}
40+

0 commit comments

Comments
 (0)