This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
heroku-deploy-archive with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
The successor of the heroku-build plugin
After installing the Heroku Toolbelt run:
$ heroku plugins:install heroku-deploy-archive
the plugin should now be listed under
$ heroku plugins === Installed Plugins heroku-deploy-archive
After loggin in with the heroku toolbelt (
heroku auth) bundle all the files you need to be deployed together as a tarball, like this:
cd files-to-be-deployed tar cvvf deploy-me.tgz ./*
then deploy with:
$ heroku deploy:archive -app your-app ./deploy-me.tgz some-version
some-version should be replaced with a meaningful version information (it's up to you).
For instance you may want to do:
$ heroku deploy:archive --app ./deploy-me.tgz "$(git rev-parse HEAD)"
which will use the current git commit hash as the version to be displayed on the "Activity" panel on heroku.com.
Found a bug or have an improvement or new feature in mind? Awesome! Just go for it with either a pull request or an issue - also check out the Contributing.md file