shipitjs / shipit-deploy

Set of deployment tasks for Shipit based on git and rsync commands.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How do we abort releases when the remote npm install fails?

glade-at-gigwell opened this issue · comments

We're adopting a project that uses shipit-deploy, and one thing we've found is that new builds will continue deploying even though the remote npm install fails (for various setup reasons)

Can we abort/rollback the release on remote npm install fail?

Thanks!

@glade-at-gigwell yes, why not using "npm install || true"?

@glade-at-gigwell problem solved?