• Published 10 years ago

node-shipit v

Weekly downloads
-
License
-
Repository
-
Last release
10 years ago

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".
  • 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".

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