-
Notifications
You must be signed in to change notification settings - Fork 37
46 lines (38 loc) · 1.19 KB
/
deploy-virgo-app.yaml
File metadata and controls
46 lines (38 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
name: Deploy Virgo App
env:
DEFAULT_LOCATION: uksouth
VIRGO_ALIAS: cplvirgo
#on:
# push:
# paths:
# - LibraQueueHandler/LibraQueueHandler/**
on: [workflow_dispatch]
jobs:
build-and-deploy:
runs-on: windows-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET Core
uses: actions/setup-dotnet@v1
with:
dotnet-version: 3.1.101
- name: 'Run dotnet build'
shell: bash
run: |
# If your function app project is not located in your repository's root
# Please consider using pushd to change your path
pushd VirgoQueueHandler/VirgoQueueHandler
dotnet build --configuration Debug --output ./output
popd
- name: Login to Azure
uses: azure/login@v1
with:
creds: ${{ secrets.AZURE_CREDENTIALS }}
- name: 'Run Azure Functions Action'
uses: Azure/functions-action@v1
id: fa
with:
app-name: ${{env.VIRGO_ALIAS}}-func
# If your function app project is not located in your repository's root
# Please consider prefixing the project path in this package parameter
package: 'VirgoQueueHandler/VirgoQueueHandler/output'