Skip to content
This repository has been archived by the owner on Sep 25, 2020. It is now read-only.

Latest commit

 

History

History
13 lines (10 loc) · 385 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 385 Bytes

Write to ~/.netrc

Simply have a NETRC environment variable set as base64 encoded string, and the decoded value will be written to ~/.netrc.

# add the buildpack
$ echo "https://github.com/knq/heroku-buildpack-netrc.git" >> /path/to/app/.buildpacks

# set the configuration variable
$ dokku config:set <app> NETRC=$(echo $HOME/.netrc|base64|tr -d "\n")