Skip to content

Commit d9a617b

Browse files
committed
Add or update the Azure App Service build and deployment workflow config
1 parent 2c088df commit d9a617b

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
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 - cippipdsw-proc
5+
6+
on:
7+
push:
8+
branches:
9+
- dev-linux
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: 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+
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_5A2D1D006C6E45F4B94B9B694DD03DD4 }}
30+
tenant-id: ${{ secrets.AZUREAPPSERVICE_TENANTID_34D61F116C6840A9A1F59E61F80ACDDB }}
31+
subscription-id: ${{ secrets.AZUREAPPSERVICE_SUBSCRIPTIONID_F575F8CFE71D4F93B850075D55E5654C }}
32+
33+
- name: 'Run Azure Functions Action'
34+
uses: Azure/functions-action@v1
35+
id: fa
36+
with:
37+
app-name: 'cippipdsw-proc'
38+
slot-name: 'Production'
39+
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
40+

0 commit comments

Comments
 (0)