File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed
Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change 11name : CD Azure Functions deployment
22
33on :
4- # Trigger the workflow on push or pull request,
5- # but only for the main branch
6- push :
4+ # Trigger the workflow on pull request but only for the master branch
5+ pull_request :
6+ types : [closed]
77 branches :
8- - pipe
8+ - master
99
1010env :
1111 AZURE_FUNCTIONAPP_NAME : ' time-tracker-azure-functions'
2828 npm install
2929 func settings add FUNCTIONS_WORKER_RUNTIME node
3030 func azure functionapp publish time-tracker-azure-functions --node
31- # - name: 'Run Azure Functions Action'
32- # uses: Azure/functions-action@v1
33- # id: fa
34- # with:
35- # app-name: ${{ env.AZURE_FUNCTIONAPP_NAME }}
36- # package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
37- # publish-profile: ${{ secrets.SCM_CREDENTIALS }}
You can’t perform that action at this time.
0 commit comments