Collection of useful utilities for deploying (not only) Webpack apps
cd $YOUR_PROJECT npm install --save-dev productboard/webpack-deploy
secrets-example.js into the root of your
project and fit them to your needs.
Also make sure you have
./node_modules/.bin in your
Build your Webpack project and run
The script will automatically detect the build hash from
deployBatch command for quick deployment.
deploy-s3AWS S3 asset upload of build files.
deploy-redisRedis deployment of revision index html file.
activate-revRedis activation of deployed revision.
list-revsList of deployed revisions with meta information.
list-active-revList current active revision.
rollbar-source-mapRollbar source map upload.
slack-notifySlack channel notifier.
git-deploy-tagGit tag creation and push to remote.
Gulp is great for building, Bash for running tasks.
To find gulp binary also in mono-repos,
npx is used.
npx is included with npm from version 5.2.0.