Skip to content

Commit

Permalink
set GH access token in build
Browse files Browse the repository at this point in the history
Signed-off-by: Tim Vaillancourt <[email protected]>
  • Loading branch information
timvaillancourt committed May 31, 2024
1 parent e2a7d5e commit a15511f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions build.env
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,8 @@ ln -sf "$PWD/misc/git/pre-commit" .git/hooks/pre-commit
ln -sf "$PWD/misc/git/commit-msg" .git/hooks/commit-msg
git config core.hooksPath .git/hooks
export EXTRA_BIN=$PWD/test/bin

# support private github.com/slackhq/vitess-addons repo
if [[ -n "${GH_ACCESS_TOKEN}" ]]; then
git config --global url.https://${GH_ACCESS_TOKEN}@github.com/.insteadOf https://github.com/
fi

0 comments on commit a15511f

Please sign in to comment.