Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/educastellano/deploy-versioning

Deploy your code keeping older versions
https://github.com/educastellano/deploy-versioning

deploy deployment versioning webapps

Last synced: 23 days ago
JSON representation

Deploy your code keeping older versions

Awesome Lists containing this project

README

        

# deploy-versioning

Deploy your code keeping older versions.

# Install

npm install deploy-versioning --save-dev

# Usage

Just add a script in your package.json:

{
...
"scripts": {
"deploy": "deploy-versioning dist user@host:/srv/myapp"
}
...
}

And run it:

npm run deploy

It will create the following file structure in your production server:

/srv/myapp
+-- 1.0.0
+-- 1.0.1
+-- 1.0.2
+-- latest -> /srv/myapp/1.0.2

## Changelog

* 1.0.0
* Initial release :tada:

## License

[ISC License](http://opensource.org/licenses/ISC)