You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,12 +1,16 @@
1
1
Heroku buildpack: Github private repo access via ~/.netrc
2
2
===================================
3
3
4
-
This buildpack uses a Github OAuth2 token exposed as `GITHUB_BASIC_TOKEN`
4
+
This buildpack uses a Github OAuth2 token exposed as `GITHUB_AUTH_TOKEN`
5
5
to resolve private repository URLs without putting a specific username
6
6
or password in the URLs saved in local files (e.g. `package.json`).
7
7
8
8
See [Easier builds and deployments using Git over HTTPS and
9
-
OAuth][github-builds] and [Github OAuth — Non-web Application Flow][github-oauth] for more detail. Also, you may want to choose a user with read-only access
9
+
OAuth][github-builds] and [Github OAuth — Non-web Application Flow][github-oauth] for more detail. Also, you may want to choose a user with read-only access.
10
+
11
+
If you use this in conjunction with the `labs:pipeline` feature of Heroku, you may
12
+
avoid setting the `GITHUB_AUTH_TOKEN` environment variable on your test & prod apps,
13
+
and instead only set it on the app where you push your code & which runs the buildpack.
0 commit comments