Skip to content

Commit

Permalink
chore: use only on env for GH token
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Oct 10, 2023
1 parent 22eed1a commit eb04277
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const docsSource: any = {
branch: 'main',
dir: 'docs',
prefix: '/1.docs',
token: process.env.NUXT_GITHUB_TOKEN || process.env.GITHUB_TOKEN || ''
token: process.env.NUXT_GITHUB_TOKEN || ''
}
if (process.env.NUXT_DOCS_PATH) {
docsSource.driver = 'fs'
Expand All @@ -21,7 +21,7 @@ const examplesSource: any = {
branch: 'main',
dir: '.docs',
prefix: '/docs/4.examples',
token: process.env.NUXT_GITHUB_TOKEN || process.env.GITHUB_TOKEN || ''
token: process.env.NUXT_GITHUB_TOKEN || ''
}
if (process.env.NUXT_EXAMPLES_PATH) {
examplesSource.driver = 'fs'
Expand Down

0 comments on commit eb04277

Please sign in to comment.