@@ -101,10 +101,10 @@ CheckMyGit generates a static portfolio site for a single GitHub profile. The si
101101 Edit ` .env ` and add your configuration:
102102 ``` env
103103 # Required: GitHub Personal Access Token with 'read:user' scope
104- GITHUB_TOKEN =ghp_your_token_here
104+ GH_TOKEN =ghp_your_token_here
105105
106106 # Required: Your GitHub username
107- GITHUB_USERNAME =your-username
107+ GH_USERNAME =your-username
108108
109109 # Optional: Base path if deploying to a subdirectory (e.g., /repo-name)
110110 BASE_PATH=
@@ -118,7 +118,7 @@ CheckMyGit generates a static portfolio site for a single GitHub profile. The si
118118 Edit ` site.config.js ` to customize your portfolio:
119119 ``` javascript
120120 export default {
121- username: process .env .GITHUB_USERNAME || ' your-username' ,
121+ username: process .env .GH_USERNAME || ' your-username' ,
122122 defaultTemplate: ' github' , // 'github' | 'bento' | 'minimal'
123123 basePath: process .env .BASE_PATH || ' ' ,
124124 customDomain: process .env .CUSTOM_DOMAIN || ' ' ,
@@ -150,8 +150,8 @@ CheckMyGit generates a static portfolio site for a single GitHub profile. The si
150150
151151| Variable | Description | Example |
152152| ----------| -------------| ---------|
153- | ` GITHUB_TOKEN ` | GitHub Personal Access Token with ` read:user ` scope | ` ghp_abc123... ` |
154- | ` GITHUB_USERNAME ` | Your GitHub username to display | ` octocat ` |
153+ | ` GH_TOKEN ` | GitHub Personal Access Token with ` read:user ` scope | ` ghp_abc123... ` |
154+ | ` GH_USERNAME ` | Your GitHub username to display | ` octocat ` |
155155
156156### Optional Variables
157157
@@ -315,7 +315,7 @@ defaultTemplate: 'bento' // or 'minimal' or 'github'
315315
316316## Troubleshooting
317317
318- ### Build Fails with "GITHUB_TOKEN is required"
318+ ### Build Fails with "GH_TOKEN is required"
319319
320320Make sure you've added the ` GH_TOKEN ` secret in your repository settings.
321321
0 commit comments