forked from Azure/static-web-apps-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
68 lines (68 loc) · 2.49 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
name: "Mishapos Custom Azure Static Web Apps Deploy"
description: "Deploys an application to Azure Static Web Apps"
branding:
icon: "upload-cloud"
color: "blue"
inputs:
action:
description: "Action to perform"
required: true
app_location:
description: "Directory location of the application source code"
required: true
azure_static_web_apps_api_token:
description: "Required token"
required: true
api_build_command:
description: "Custom command for Oryx to run when building Azure Functions source code"
required: false
api_location:
description: "Directory location of the Azure Functions source code"
required: false
app_artifact_location:
description: "Identical in use to output_location"
required: false
output_location:
description: "Directory location of the compiled application code after building"
required: false
app_build_command:
description: "Custom command for Oryx to run when building application source code"
required: false
repo_token:
description: "Token for interacting with the Github repository. Currently used only for commenting on Pull Requests."
required: false
routes_location:
description: "Directory location where the routes.json file can be found in the source code"
required: false
skip_app_build:
description: "Skips the build step for the application source code if set to true."
required: false
config_file_location:
description: "Directory location where the staticwebapp.config.json file can be found in the source code"
required: false
skip_api_build:
description: "Skips the build step for the Azure Functions source code if set to true."
required: false
production_branch:
description: "When specified, deployments from other branches will be considered preview environments."
required: false
deployment_environment:
description: "Name of the Azure Static Web Apps environment to deploy to."
required: false
is_static_export:
description: "Indicates you are using `next export` to generate a static site if set to true."
required: false
data_api_location:
description: "Directory location of the Data API configuration files"
required: false
github_id_token:
description: "GitHub Auth id token"
required: false
outputs:
static_web_app_url:
description: "Url of the application"
runs:
using: "docker"
image: "docker://mishapos/static-web-apps-deploy:june2022"
#image: 'Dockerfile'
entrypoint: "/entrypoint.sh"