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 - cippbcaom
5-
6- on :
7- push :
8- branches :
9- - dev
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-
19- steps :
20- - name : ' Checkout GitHub Action'
21- uses : actions/checkout@v4
22-
23- - name : ' Run Azure Functions Action'
24- uses : Azure/functions-action@v1
25- id : fa
26- with :
27- app-name : ' cippbcaom'
28- slot-name : ' Production'
29- package : ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
30- publish-profile : ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_0FE8CACBBF7D409DAAF132988BECEC4B }}
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 : dev_api_proc
5+
6+ on :
7+ push :
8+ branches :
9+ - dev
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+ if : github.event.repository.fork == false && github.event_name == 'push'
18+ runs-on : windows-latest
19+
20+ steps :
21+ - name : ' Checkout GitHub Action'
22+ uses : actions/checkout@v4
23+
24+ - name : ' Run Azure Functions Action'
25+ uses : Azure/functions-action@v1
26+ id : fa
27+ with :
28+ app-name : ' cippjta72-proc'
29+ slot-name : ' Production'
30+ package : ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
31+ publish-profile : ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_A53AC5C52A55459DA0A3D8F1716638CB }}
0 commit comments