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
+7-9Lines changed: 7 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -90,13 +90,11 @@ For GitHub Pages to work, we need to add your credentials as secrets:
90
90
91
91
1. Go to **Settings** → **Secrets and variables** → **Actions**
92
92
2. Click **"New repository secret"** and add:
93
-
-**Name**: `GITHUB_CLIENT_ID`
94
-
-**Value**: Your GitHub OAuth App Client ID from step 1
95
-
3. Click **"New repository secret"** again and add:
96
-
-**Name**: `GITHUB_PAT`
93
+
-**Name**: `WORKFLOW_PAT`
97
94
-**Value**: Your classic PAT from step 3
95
+
3. (The `OAUTH_CLIENT_ID` secret should already exist from step 2)
98
96
99
-
**Note**: These secrets are used by the GitHub Actions deployment workflow to generate `config.js` during deployment.
97
+
**Note**: These secrets are used by the GitHub Actions deployment workflow to generate `config.js` during deployment. Secret names cannot start with `GITHUB_` as that's reserved by GitHub.
100
98
101
99
### 6. Enable GitHub Pages with GitHub Actions
102
100
@@ -215,13 +213,13 @@ This project includes a **GitHub Actions deployment workflow** (`.github/workflo
215
213
3. ✅ Keeps your credentials secure (never in repository, only in secrets)
216
214
217
215
**How it works:**
218
-
- You store `GITHUB_CLIENT_ID` and `GITHUB_PAT` as repository secrets
216
+
- You store `OAUTH_CLIENT_ID` and `WORKFLOW_PAT` as repository secrets
219
217
- The deployment workflow reads these secrets and creates `config.js` during build
220
218
- GitHub Pages serves the site with the generated config file
221
219
- Your credentials never appear in the repository or git history
222
220
223
221
**To deploy:**
224
-
1. Add secrets `GITHUB_CLIENT_ID`and `GITHUB_PAT` (see step 5 in setup)
222
+
1. Add secrets `OAUTH_CLIENT_ID` (step 2) and `WORKFLOW_PAT` (step 5)
225
223
2. Enable GitHub Pages with source "GitHub Actions" (see step 6 in setup)
226
224
3. Push to main branch - deployment happens automatically!
227
225
@@ -232,8 +230,8 @@ This project includes a **GitHub Actions deployment workflow** (`.github/workflo
232
230
If you see "The config.js file is missing or not loaded" on the deployed site:
233
231
234
232
1.**Add deployment secrets**: Go to Settings → Secrets → Actions and add:
0 commit comments