Skip to content

Commit fadfceb

Browse files
authored
Add files via upload
1 parent b6a9a9a commit fadfceb

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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 - cippl5rqh # Change cippdh4c to your Function App Name
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+
build-and-deploy:
17+
runs-on: windows-latest
18+
steps:
19+
- name: 'Checkout GitHub Action'
20+
uses: actions/checkout@v2
21+
22+
- name: 'Run Azure Functions Action'
23+
uses: Azure/functions-action@v1
24+
id: fa
25+
with:
26+
app-name: 'cippl5rqh' # Change this to your function app name (eg cippdh4ch)
27+
slot-name: 'Production'
28+
package: ${{ env.AZURE_FUNCTIONAPP_PACKAGE_PATH }}
29+
publish-profile: ${{ secrets.AZUREAPPSERVICE_PUBLISHPROFILE_C7842A0871774BACA8D27860E1DC959D }} # Change this to your repository secret name

0 commit comments

Comments
 (0)