An open API service indexing awesome lists of open source software.

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

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