Skip to content
Steven Soloff edited this page Jan 20, 2017 · 1 revision

Travis

The production and staging deployment encryption keys must be initialized in the Travis build environment using the following commands:

$ travis env set --public -- DSJS_HEROKU_PRODUCTION_PUBLIC_KEY "$(cat path/to/production-public-key.pem)"
$ travis env set --private -- DSJS_HEROKU_PRODUCTION_PRIVATE_KEY "$(cat path/to/production-private-key.pem)"
$ travis env set --public -- DSJS_HEROKU_STAGING_PUBLIC_KEY "$(cat path/to/staging-public-key.pem)"
$ travis env set --private -- DSJS_HEROKU_STAGING_PRIVATE_KEY "$(cat path/to/staging-private-key.pem)"

Heroku

The production and staging deployment encryption keys must be initialized in the Heroku application environment using the following commands:

$ heroku config:set --app dice-server-js DSJS_PUBLIC_KEY="$(cat path/to/production-public-key.pem)"
$ heroku config:set --app dice-server-js DSJS_PRIVATE_KEY="$(cat path/to/production-private-key.pem)"
$ heroku config:set --app dice-server-js-staging DSJS_PUBLIC_KEY="$(cat path/to/staging-public-key.pem)"
$ heroku config:set --app dice-server-js-staging DSJS_PRIVATE_KEY="$(cat path/to/staging-private-key.pem)"
Clone this wiki locally