-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathaction.yml
31 lines (31 loc) · 1.07 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
name: 'Docker-Compose Deploy'
description: 'Deploy your Docker-Compose project to a list of destination servers'
inputs:
deploy_targets:
description: 'List of hosts to deploy your application to'
required: true
ssh_user:
description: 'User to log into for deploys. (Needs to have access to `sudo`)'
default: 'root'
required: false
compose_file:
description: 'Relative path to your docker-compose file'
default: 'docker-compose.yml'
required: false
validate_container:
description: 'Name of containers we should validate that are running before calling the deploy a success'
default: 'app'
required: false
json_config:
description: >
Add a `./config/local.json` file to the root of your repository on the deploy target machine. Very handy for
pushing out secrets to your deploy targets. Works very well with Node projects using the
[`config`](https://github.com/lorenwest/node-config) package.
default: '{}'
required: false
runs:
using: 'node12'
main: 'dist/index.js'
branding:
color: 'blue'
icon: 'server'