fix: update API token reference in deployment workflow and README

This commit is contained in:
xixu-me committed 2026-01-31 22:53:36 +08:00
1 parent f7a5822140
commit 4f322650aa
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -34,4 +34,4 @@ jobs:
node-version: "22.11.0"
- name: Deploy to EdgeOne Pages
run: npx edgeone pages deploy . -n xget6 -t ${{ secrets.EDGEONE_PAGES_API_TOKEN }}
run: npx edgeone pages deploy . -n xget6 -t ${{ secrets.EDGEONE_API_TOKEN }}
+1 -1
View File
@@ -2440,7 +2440,7 @@ client = OpenAI(
3. **Configure GitHub Secrets**:
- Go to your GitHub repository → Settings → Secrets and variables → Actions
- Add the following secret:
- `EDGEONE_PAGES_API_TOKEN`: Your API Token
- `EDGEONE_API_TOKEN`: Your API Token
4. **Trigger deployment**:
- The repository will automatically convert Workers code to Pages-compatible format and sync to the `pages` branch