A buildpack that installs the Salesforce DX CLI in Heroku
Switch branches/tags
Nothing to show
Clone or download
Latest commit 0892a75 Mar 26, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin Initial commit Mar 20, 2018
lib Initial commit Mar 20, 2018
LICENSE Initial commit Mar 20, 2018
README.md Updated README Mar 26, 2018

README.md

Heroku Buildpack for the Salesforce CLI

This is the official Heroku buildpack for installing the Salesforce CLI into your Heroku dyno. It will also install jq, a command-line tool that is like sed for JSON data, which makes it easy to interact with JSON output from the Salesforce CLI.

Usage

To use sfdx and jq, you simply need to export the appropriate paths:

export PATH="$BUILD_DIR/vendor/sfdx/cli/bin:$PATH"
export PATH="$BUILD_DIR/vendor/sfdx/jq:$PATH"

The $BUILD_DIR is the path where your apps source is stored on the Heroku dyno.