Skip to content

Commit

Permalink
[repo] no more use gh-token for private repos
Browse files Browse the repository at this point in the history
  • Loading branch information
xbill82 committed Jun 10, 2021
1 parent abde702 commit d14227f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kuzdoc",
"description": "The CLI that helps build the Kuzzle Docs",
"version": "1.5.0",
"version": "1.5.1",
"author": "The Kuzzle Team <[email protected]>",
"bin": {
"kuzdoc": "./bin/run"
Expand Down
3 changes: 0 additions & 3 deletions src/common.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,9 +109,6 @@ export class Repo {
get url(): string {
if (this.repoName) {
if (this.isPrivate) {
if (process.env.ACCESS_TOKEN_CI) {
return `https://\${ACCESS_TOKEN_CI}:[email protected]/${this.repoName}.git`
}
return `[email protected]:kuzzleio/${this.repoName}.git`
}
return `https://github.com/kuzzleio/${this.repoName}.git`
Expand Down

0 comments on commit d14227f

Please sign in to comment.