Skip to content

Commit 0035351

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

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

.github/workflows/master_cipp5lm5f-usertasks.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_AB79E26238C441CD9FCB44F02FAA6B23 }}
30+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_8D807E09FE644EAA8A290752FA089444 }}
31+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_01F2DDB4D2C2473F8DFDAE2CEFAF5C99 }}
32+
2333
- name: 'Run Azure Functions Action'
2434
uses: Azure/functions-action@v1
2535
id: fa
2636
with:
2737
app-name: 'cipp5lm5f-usertasks'
2838
slot-name: 'Production'
2939
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
30-
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_3DD3D895B7CE47DBA7628E2D5A05D156 }}
40+

0 commit comments

Comments
 (0)