File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # Docs for the Azure Web Apps Deploy action: https://github.com/azure/functions-action
2+ # More GitHub Actions for Azure: https://github.com/Azure/actions
3+
4+ name : Build and deploy Powershell project to Azure Function App - cipp5ddgz-usertasks
5+
6+ on :
7+ push :
8+ branches :
9+ - master
10+ workflow_dispatch :
11+
12+ env :
13+ AZURE_FUNCTIONAPP_PACKAGE_PATH : ' .' # set this to the path to your web app project, defaults to the repository root
14+
15+ jobs :
16+ deploy :
17+ runs-on : windows-latest
18+ permissions :
19+ id-token : write # This is required for requesting the JWT
20+ contents : read # This is required for actions/checkout
21+
22+ steps :
23+ - name : ' Checkout GitHub Action'
24+ uses : actions/checkout@v4
25+
26+ - name : Login to Azure
27+ uses : azure/login@v2
28+ with :
29+ client-id : ${{ secrets.AZUREAPPSERVICE_CLIENTID_D98F621BE3C44AACA980F294A46A5403 }}
30+ tenant-id : ${{ secrets.AZUREAPPSERVICE_TENANTID_ABDB35754E8A4C4CB1FE4DD4B5A32E2B }}
31+ subscription-id : ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_ED7DB6D0FF3D40FCA0C896B626766A69 }}
32+
33+ - name : ' Run Azure Functions Action'
34+ uses : Azure/functions-action@v1
35+ id : fa
36+ with :
37+ app-name : ' cipp5ddgz-usertasks'
38+ slot-name : ' Production'
39+ package : ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
40+
You can’t perform that action at this time.
0 commit comments