forked from Azure/functions-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
59 lines (59 loc) · 2.75 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
47
48
49
50
51
52
53
54
55
56
57
58
59
# Azure Functions GitHub Action
name: 'Azure Functions Action'
description: 'Deploy Function App to Azure Functions'
inputs:
app-name:
description: 'Name of the Azure Function App'
required: true
package:
description: 'Path to package or folder. *.zip or a folder to deploy'
required: false
default: '.'
slot-name:
description: 'Function app slot to be deploy to'
required: false
publish-profile:
description: 'Publish profile (*.publishsettings) file contents with web deploy secrets'
required: false
respect-pom-xml:
description: "Automatically look up Java function app artifact from pom.xml (default: 'false').
When this is set to 'true', 'package' should point to the folder of host.json."
required: false
default: 'false'
respect-funcignore:
description: "Remove unwanted files defined in .funcignore file (default: 'false').
When this is set to 'true', 'package' should point to the folder of host.json."
required: false
default: 'false'
scm-do-build-during-deployment:
description: "Enable build action from Kudu when the package is deployed onto the function app.
This will temporarily change the SCM_DO_BUILD_DURING_DEPLOYMENT setting for this deployment.
To bypass this and use the existing settings from your function app, please set this to an empty
string ''.
To enable remote build for your project, please set this and 'enable-oryx-build' both to 'true'.
By default, GitHub Action respects the packages resolved in GitHub workflow, disabling the
redundant build action from Kudu endpoint. (default: 'false')."
required: false
default: 'false'
enable-oryx-build:
description: "Use Oryx Build from Kudu when the package is deployed onto the function app. (Linux functions only).
This will temporarily change the ENABLE_ORYX_BUILD setting from this deployment.
To bypass this and use the existing settings from your function app, please set this to an empty
string ''.
To enable remote build for your project, please set this and 'scm-do-build-during-deployment' both
to 'true'.
By default, GitHub Action respects the packages resolved in GitHub workflow, disabling the
redundant build action from Kudu endpoint. (default: 'false')."
required: false
default: 'false'
outputs:
app-url:
description: 'URL to work with your function app'
package-url:
description: 'URL to the package zip file if using package deployment'
branding:
icon: 'functionapp.svg'
color: 'blue'
runs:
using: 'node16'
main: 'lib/main.js'