Refactor publish-docs based on untitaker's suggestion
Refactor publish-docs based on untitaker's suggestion

Instead of using a `&&` chain, we can use `set -ex` in order for the
script to abort immediately, as soon as a command fails.

remotestorage/remotestorage.js,theWebalyst/remotestorage.js,remotestorage/remotestorage.js,theWebalyst/remotestorage.js,remotestorage/remotestorage.js