delasy/Blue/Green Deployment
Blue/Green deployment for PM2 running on Ubuntu
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| name | Name of the project, usually project domain, eg. delasy.com | yes | — |
| host | Remote host address, eg. 1.1.1.1 | yes | — |
| port | Remote port number, eg. 22 | yes | 22 |
| username | Remote username, eg. ubuntu | yes | — |
| password | Remote password | — | — |
| private-key | Contents of private SSH key | — | — |
| source | Source directory path, eg. ./build | yes | — |
| blue-port | NGINX blue port, eg. 3000 | yes | 3000 |
| green-port | NGINX green port, eg. 3001 | yes | 3001 |
| strip-components | Remove specified number of leading path elements when unpacking tar file | yes | 1 |
| script | Optional script to execute in the target directory before PM2 operations, eg. npm run migrate | no | — |
Outputs
no outputs