GitHunt
CS

cspickert/heroku-buildpack-gitlab-netrc

Heroku buildpack: GitLab private repo access via ~/.netrc

Usage

Example usage:

$ heroku create --buildpack https://github.com/cspickert/heroku-buildpack-gitlab-netrc.git

Set the personal access token.

$ heroku config:set GITLAB_AUTH_TOKEN=<my-read-only-token>

Deploy your app.

$ git push heroku master  # push your changes to Heroku

...git output...

-----> Fetching custom git buildpack... done
-----> Multipack app detected
=====> Downloading Buildpack: https://github.com/cspickert/heroku-buildpack-gitlab-netrc.git
=====> Detected Framework: gitlab-netrc
       Generated .netrc & .curlrc files (available only at build-time)
       Github User:   my-read-only-user
       Authorization: GITLAB_AUTH_TOKEN for Heroku deplyoments (private repo access)

Contributors

Created September 1, 2022
Updated September 1, 2022