preaction / Statocles

Static website CMS
http://preaction.me/statocles
Other
84 stars 33 forks source link

--clean is dangerous when deploy branch is not isolated #491

Closed preaction closed 8 years ago

preaction commented 8 years ago

If the deploy branch is the same as the current branch, --clean will destroy:

We should disallow using --clean if we are on the branch that is being deployed to, with a message explaining why.