-
Notifications
You must be signed in to change notification settings - Fork 75
/
action.yml
71 lines (71 loc) · 3.69 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
60
61
62
63
64
65
66
67
68
69
70
71
# 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'
sku:
description: "For function app on Flex Consumption plan, set this to 'flexconsumption'. You can skip this parameter for function app on other plans.
If using RBAC credentials, then by default, GitHub Action will resolve the value for this paramter. But if using 'publish-profile',
then you must set this for function app on Flex Consumption plan."
required: false
remote-build:
description: "For function app on Flex Consumption plan, enable build action from Kudu when the package is deployed onto the function app by setting this to 'true'.
For function app on Flex Consumption plan, do not set 'scm-do-build-during-deployment' and 'enable-oryx-build'.
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: 'node20'
main: 'lib/main.js'