-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
46 lines (46 loc) · 1.17 KB
/
action.yml
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: azdeploy
description: 'Deploy ARM template'
inputs:
resourceGroupName:
description: 'Name of the resource group.'
required: true
resourceGroupLocation:
description: 'Location of the resource group.'
required: true
templateFile:
description: 'ARM template file location.'
required: true
parametersFile:
description: 'ARM parameters file location.'
required: true
templateUri:
description: 'ARM template file location URI.'
required: true
parametersUri:
description: 'ARM parameters file location URI.'
required: true
resourceGroupCommand:
description: 'RG command.'
default: 'create'
required: false
outputs:
output:
description: 'ARM outputs'
runs:
using: "docker"
image: "dockerfile"
args:
- -resourceGroupName
- ${{ inputs.resourceGroupName }}
- -resourceGroupLocation
- ${{ inputs.resourceGroupLocation }}
- -templateFile
- ${{ inputs.templateFile }}
- -parametersFile
- ${{ inputs.parametersFile }}
- -templateUri
- ${{ inputs.templateUri }}
- -parametersUri
- ${{ inputs.parametersUri }}
- -resourceGroupCommand
- ${{ inputs.resourceGroupCommand }}