Skip to content

Commit 13ea91c

Browse files
miwebstMitch Webster
andauthored
Update formatting and add outputs (Azure#3)
Co-authored-by: Mitch Webster <[email protected]>
1 parent 9d6724c commit 13ea91c

File tree

1 file changed

+18
-15
lines changed

1 file changed

+18
-15
lines changed

action.yml

Lines changed: 18 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,39 @@
1-
name: 'Azure Static Web Apps Deploy'
2-
description: 'Deploys an application to Azure Static Web Apps'
1+
name: "Azure Static Web Apps Deploy"
2+
description: "Deploys an application to Azure Static Web Apps"
33
branding:
4-
icon: 'upload-cloud'
5-
color: 'blue'
4+
icon: "upload-cloud"
5+
color: "blue"
66
inputs:
77
action:
8-
description: 'Action to perform'
8+
description: "Action to perform"
99
required: true
1010
app_location:
11-
description: 'Directory location of the application source code'
11+
description: "Directory location of the application source code"
1212
required: true
1313
azure_static_web_apps_api_token:
14-
description: 'Required token'
14+
description: "Required token"
1515
required: true
1616
api_build_command:
17-
description: 'Custom command for Oryx to run when building Azure Functions source code'
17+
description: "Custom command for Oryx to run when building Azure Functions source code"
1818
required: false
1919
api_location:
20-
description: 'Directory location of the Azure Functions source code'
20+
description: "Directory location of the Azure Functions source code"
2121
required: false
2222
app_artifact_location:
23-
description: 'Directory location of the compiled application code after building'
23+
description: "Directory location of the compiled application code after building"
2424
required: false
2525
app_build_command:
26-
description: 'Custom command for Oryx to run when building application source code'
26+
description: "Custom command for Oryx to run when building application source code"
2727
required: false
2828
repo_token:
29-
description: 'Token for interacting with the Github repository. Currently used only for commenting on Pull Requests.'
29+
description: "Token for interacting with the Github repository. Currently used only for commenting on Pull Requests."
3030
required: false
3131
routes_location:
32-
description: 'Directory location where the routes.json file can be found in the source code'
32+
description: "Directory location where the routes.json file can be found in the source code"
3333
required: false
34+
outputs:
35+
static_web_app_url:
36+
description: "Url of the application"
3437
runs:
35-
using: 'docker'
36-
image: 'Dockerfile'
38+
using: "docker"
39+
image: "Dockerfile"

0 commit comments

Comments
 (0)