shipit
Deployment tool written in JavaScript.
Install
npm install -g node-shipit
Usage
shipit <stage> <tasks ...>
Workflow tasks
- deploy
- deploy:fetch
- Create workspace.
- Fetch repository.
- Checkout commit-ish.
- Emit event "fetched".
- deploy:update
- Create and define release path.
- Remote copy project.
- Emit event "updated".
- deploy:publish
- Update synonym link.
- Emit event "published".
- deploy:clean
- Remove old releases.
- Emit event "cleaned".
- deploy:fetch
- rollback
- rollback:init
- Define release path.
- Emit event "rollback".
- deploy:publish
- Update synonym link.
- Emit event "published".
- deploy:clean
- Remove old releases.
- Emit event "cleaned".
- rollback:init
Shipfile
You must create a Shipfile.js at the root of your project to define your tasks and your configuration. See a detailled example of a Shipfile.
License
MIT