https://github.com/soarez/bora
Dead simple deploys to SSH targets
https://github.com/soarez/bora
Last synced: about 1 year ago
JSON representation
Dead simple deploys to SSH targets
- Host: GitHub
- URL: https://github.com/soarez/bora
- Owner: soarez
- Created: 2015-04-02T14:41:45.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-03-15T17:48:02.000Z (over 10 years ago)
- Last Synced: 2025-04-22T11:12:36.936Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 8
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# bora
super simple deploys
Features:
- Leverages `rsync(1)` for transfers
- Build hooks
- Post-deploy hook
- Ignore files
- Rollbacks
## install
```
npm i -g bora
```
## usage
```
bora [-R] [-b cmd] [-i ignores] [-k #] [-n name] [-r cmd] [-s src] host [...]
-b command to perform build the deployed folder
-d path to a folder on the server where the deploys will reside,
defaults to ~/deploys
-i path to a new-line separated list of files to ignore,
defaults to /.rsyncignore
-k number of previous builds to keep, defaults to 3
-n project name, defaults to basename of the deployed foler path
-r command to restart service
-R rollback to the previous deploy instead of deploying
-s path to the deploy folder, defaults to \$PWD
-S where to create a symlink to the lastest deploy for convenience
defaults to /
host the ssh target defined in your ~/.ssh/config (see ssh_config(5))
```
## example
Deploy:
```
bora -r '<>' -b '<>' -i .gitignore myhost
```
Rollback:
```
bora -r '<>' -R myhost
```
## LICENSE
MIT