forked from superfly/fly-pr-review-apps
-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
40 lines (40 loc) · 1.48 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
name: "Pull Request Review Apps on Fly.io"
description: "Deploy and Destroy Pull Request Review Phoenix Apps on Fly.io. Resources like databases and volumes are also created, if needed, and destroyed"
author: Fly
branding:
icon: "upload-cloud"
color: "purple"
runs:
using: "docker"
image: "Dockerfile"
inputs:
name:
description: Fly app name
image:
description: Optional pre-existing Docker image to use
config:
description: App's config file (fly.toml).
region:
description: Region to launch the app in (alternatively, set the env FLY_REGION)
org:
description: Organization to launch the app in (alternatively, set the env FLY_ORG)
path:
description: path to a directory containing a fly.toml to clone
postgres:
description: Optionally attach the app to a pre-existing Postgres cluster on Fly
secrets:
description: Secrets to be set on the app. Separate multiple secrets with a space
vmsize:
description: Set app VM to a named size, eg. shared-cpu-1x, dedicated-cpu-1x, dedicated-cpu-2x etc. Takes precedence over cpu, cpu kind, and memory inputs.
cpu:
description: Set app VM CPU (defaults to 1 cpu)
default: 1
cpukind:
description: Set app VM CPU kind - shared or performance. (defaults to shared)
default: shared
memory:
description: Set app VM memory in megabytes (defaults to 256 megabytes)
default: 256
ha:
description: Create spare machines that increases app availability (default false)
default: false