|
1 | | -# Azure Functions GitHub Action |
2 | | -name: 'Azure Functions Action' |
3 | | -description: 'Deploy Function App to Azure Functions' |
4 | | -inputs: |
5 | | - app-name: |
6 | | - description: 'Name of the Azure Function App' |
7 | | - required: true |
8 | | - package: |
9 | | - description: 'Path to package or folder. *.zip or a folder to deploy' |
10 | | - required: false |
11 | | - default: '.' |
12 | | - slot-name: |
13 | | - description: 'Function app slot to be deploy to' |
14 | | - required: false |
15 | | - publish-profile: |
16 | | - description: 'Publish profile (*.publishsettings) file contents with web deploy secrets' |
17 | | - required: false |
18 | | - respect-pom-xml: |
19 | | - description: "Automatically look up Java function app artifact from pom.xml (default: 'false'). |
20 | | - When this is set to 'true', 'package' should point to the folder of host.json." |
21 | | - required: false |
22 | | - default: 'false' |
23 | | - respect-funcignore: |
24 | | - description: "Remove unwanted files defined in .funcignore file (default: 'false'). |
25 | | - When this is set to 'true', 'package' should point to the folder of host.json." |
26 | | - required: false |
27 | | - default: 'false' |
28 | | - scm-do-build-during-deployment: |
29 | | - description: "Enable build action from Kudu when the package is deployed onto the function app. |
30 | | - This will temporarily change the SCM_DO_BUILD_DURING_DEPLOYMENT setting for this deployment. |
31 | | - To bypass this and use the existing settings from your function app, please set this to an empty |
32 | | - string ''. |
33 | | - To enable remote build for your project, please set this and 'enable-oryx-build' both to 'true'. |
34 | | - By default, GitHub Action respects the packages resolved in GitHub workflow, disabling the |
35 | | - redundant build action from Kudu endpoint. (default: 'false')." |
36 | | - required: false |
37 | | - default: 'false' |
38 | | - enable-oryx-build: |
39 | | - description: "Use Oryx Build from Kudu when the package is deployed onto the function app. (Linux functions only). |
40 | | - This will temporarily change the ENABLE_ORYX_BUILD setting from this deployment. |
41 | | - To bypass this and use the existing settings from your function app, please set this to an empty |
42 | | - string ''. |
43 | | - To enable remote build for your project, please set this and 'scm-do-build-during-deployment' both |
44 | | - to 'true'. |
45 | | - By default, GitHub Action respects the packages resolved in GitHub workflow, disabling the |
46 | | - redundant build action from Kudu endpoint. (default: 'false')." |
47 | | - required: false |
48 | | - default: 'false' |
49 | | -outputs: |
50 | | - app-url: |
51 | | - description: 'URL to work with your function app' |
52 | | -branding: |
53 | | - icon: 'functionapp.svg' |
54 | | - color: 'blue' |
55 | | -runs: |
56 | | - using: 'node16' |
57 | | - main: 'lib/main.js' |
| 1 | +# Azure Functions GitHub Action |
| 2 | +name: 'Azure Functions Action' |
| 3 | +description: 'Deploy Function App to Azure Functions' |
| 4 | +inputs: |
| 5 | + app-name: |
| 6 | + description: 'Name of the Azure Function App' |
| 7 | + required: true |
| 8 | + package: |
| 9 | + description: 'Path to package or folder. *.zip or a folder to deploy' |
| 10 | + required: false |
| 11 | + default: '.' |
| 12 | + slot-name: |
| 13 | + description: 'Function app slot to be deploy to' |
| 14 | + required: false |
| 15 | + publish-profile: |
| 16 | + description: 'Publish profile (*.publishsettings) file contents with web deploy secrets' |
| 17 | + required: false |
| 18 | + respect-pom-xml: |
| 19 | + description: "Automatically look up Java function app artifact from pom.xml (default: 'false'). |
| 20 | + When this is set to 'true', 'package' should point to the folder of host.json." |
| 21 | + required: false |
| 22 | + default: 'false' |
| 23 | + respect-funcignore: |
| 24 | + description: "Remove unwanted files defined in .funcignore file (default: 'false'). |
| 25 | + When this is set to 'true', 'package' should point to the folder of host.json." |
| 26 | + required: false |
| 27 | + default: 'false' |
| 28 | + scm-do-build-during-deployment: |
| 29 | + description: "Enable build action from Kudu when the package is deployed onto the function app. |
| 30 | + This will temporarily change the SCM_DO_BUILD_DURING_DEPLOYMENT setting for this deployment. |
| 31 | + To bypass this and use the existing settings from your function app, please set this to an empty |
| 32 | + string ''. |
| 33 | + To enable remote build for your project, please set this and 'enable-oryx-build' both to 'true'. |
| 34 | + By default, GitHub Action respects the packages resolved in GitHub workflow, disabling the |
| 35 | + redundant build action from Kudu endpoint. (default: 'false')." |
| 36 | + required: false |
| 37 | + default: 'false' |
| 38 | + enable-oryx-build: |
| 39 | + description: "Use Oryx Build from Kudu when the package is deployed onto the function app. (Linux functions only). |
| 40 | + This will temporarily change the ENABLE_ORYX_BUILD setting from this deployment. |
| 41 | + To bypass this and use the existing settings from your function app, please set this to an empty |
| 42 | + string ''. |
| 43 | + To enable remote build for your project, please set this and 'scm-do-build-during-deployment' both |
| 44 | + to 'true'. |
| 45 | + By default, GitHub Action respects the packages resolved in GitHub workflow, disabling the |
| 46 | + redundant build action from Kudu endpoint. (default: 'false')." |
| 47 | + required: false |
| 48 | + default: 'false' |
| 49 | +outputs: |
| 50 | + app-url: |
| 51 | + description: 'URL to work with your function app' |
| 52 | + package-url: |
| 53 | + description: 'URL to the package zip file if using package deployment' |
| 54 | +branding: |
| 55 | + icon: 'functionapp.svg' |
| 56 | + color: 'blue' |
| 57 | +runs: |
| 58 | + using: 'node16' |
| 59 | + main: 'lib/main.js' |
0 commit comments