Godeploy

A CLI tool for deploying files directly from your computer to a server using SSH and SFTP.
Installation
- Download latest release
- Put it in a folder and make sure its executeable
- Add the folder to system PATH
- You're set, you can now run it using
godeploy
in terminal
Usage
- Create a .json file in your project folder.
- Edit settings in .json file.
- Run
godeploy
inside project folder.
godeploy.json example:
{
"files": {
"include": "dist/",
"dist": "/var/www/html",
"backup": "/var/backup"
},
"ssh": {
"host": "localhost",
"port": 22,
"username": "root",
"password": "1234"
},
"pre-deploy": "pre-deploy.sh",
"post-deploy": ""
}
Commands:
godeploy <command> |
Description |
help |
Shows help description. |
ssh |
Deploys using SSH and SFTP. |
CLI Flags
--config PATH_JSON_FILE
Questions and issues
Use the Github issue tracker for any questions, issues or feature suggestions.
License
MIT licensed.