-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
35 lines (35 loc) · 1.38 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
name: "PR Review Apps on fly.io"
description: "Deploy temporary apps from pull requests on Fly.io"
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
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
pr_number:
description: Optionnally explicitly set the PR number to use
event_type:
description: Optionnaly explicitly set the event type to use
update:
description: Whether new commits to the PR should re-deploy the Fly app
default: "true"
secrets:
description: 'Secrets to pass to the app, separated by semicolons (eg: "SECRET1;SECRET2")'
postgres_vm_size:
description: 'Size of the Postgres VM to create (default: "shared-cpu-1x")'
postgres_cluster_regions:
description: 'Optionally create a PG cluster by giving more region to set Read Replicas, separated by a space. The leader will always be on the FLY_REGION and have a Read Replica. (eg: "ams ams" will add two replicas in Amsterdam)'