This repository has been archived by the owner on Dec 13, 2022. It is now read-only.
forked from awslabs/amazon-app-runner-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
62 lines (61 loc) · 1.87 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
name: 'Amazon App Runner "Deploy Service" Action for GitHub Actions'
description: 'Registers and deploys the application as App Runner service'
branding:
icon: 'cloud'
color: 'orange'
inputs:
service:
description: 'The name of the App Runner service'
required: true
source-connection-arn:
description: 'ARN for the `GitHubConnection` in App Runner'
required: false
access-role-arn:
description: 'ARN for IAM Role, if the App Runner service is configured with ECR image'
required: false
repo:
description: "GitHub source repository URL"
required: false
branch:
description: "Repository branch name"
required: false
image:
description: 'Docker image URI with tag'
required: false
env-text:
description: 'Env vars in string format'
required: false
runtime:
description: 'Runtime of the application, note: AppRunner only supports `NODEJS_12` and `PYTHON_3` runtime types'
required: false
build-command:
description: "Application build command"
required: false
start-command:
description: "Application start command"
required: false
port:
description: "The service uses this TCP port"
required: false
region:
description: "AWS deployment region"
required: false
cpu:
description: 'CPU for the service, defaults to 1 vCPU'
required: false
memory:
description: 'Memory for the service, defaults to 2 GB'
required: false
wait-for-service-stability:
description: 'Whether to wait for the App Runner service to reach stable state after deploying the new task definition. Valid value is "true". Will default to not waiting.'
required: false
outputs:
service-id:
description: 'App Runner service ID'
service-url:
description: 'App Runner service URL'
service-arn:
description: 'App Runner service ARN'
runs:
using: 'node12'
main: 'dist/index.js'