-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
59 lines (58 loc) · 1.94 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
name: Deploy to Dokku
author: Bycoders
description: Push changes to Dokku server to automatically deploy the application.
branding:
icon: server
color: blue
inputs:
PRIVATE_KEY:
description: Private key to use for SSH authentication.
required: true
PUBLIC_KEY:
description: Public key to use for SSH authentication.
required: true
PROJECT:
description: Name of the application (as created in Dokku).
required: true
HOST:
descripion: Domain (or IP address) where the application will be deployed.
required: true
BRANCH:
description: Branch used to deploy the application.
required: true
default: master
PROJECT_TYPE:
description: (Optional) ruby, node, java, python, dockerfile
required: false
default: ruby
DOCKERFILE_NAME:
description: (Optional) when project type is dockerfile, is possible to set a specific config to deploy for each environment
required: false
default: Dockerfile
POSTGRES:
description: (Optional) true - Set up a postgres instance (Make sure that your app is using default DATABASE_URL env variable)
required: false
default: false
REDIS:
description: (Optional) true - Set up a redis instance (Make sure that your app is using default REDIS_URL env variable)
required: false
default: false
ELASTICSEARCH:
description: (Optional) true - Set up a elasticsearch instance (Make sure that your app is using default ELASTICSEARCH_URL env variable)
required: false
default: false
MONGO:
description: (Optional) true - Set up a mongo instance and link to app using the MONGO_URL environment variable
required: false
default: false
RABBITMQ:
description: (Optional) true - Set up a rabbitmq instance and link to app
required: false
default: false
REVIEW_APP:
description: true - Set if deploy generates a new app (with branch name)
required: true
default: true
runs:
using: docker
image: Dockerfile