action: update token

This commit is contained in:
hmol233 2021-09-15 18:41:41 +08:00
parent d698965203
commit 48dce3e6ab
No known key found for this signature in database
GPG Key ID: D617A9DAB0C992D5
2 changed files with 1 additions and 2 deletions

View File

@ -43,7 +43,7 @@ jobs:
- name: Deploy to main Repository
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
github_token: ${{ secrets.ACTION_PERSONAL_TOKEN }}
publish_dir: docs/.vuepress/dist
external_repository: XTLS/XTLS.github.io
publish_branch: gh-pages-next

View File

@ -8,7 +8,6 @@ const isProduction = process.env.NODE_ENV === "production";
const forMainRepo = process.env.XRAY_DOCS_MAIN_REPO === "true";
const useVite = process.env.XRAY_DOCS_USE_VITE === "true";
console.log("environment: \n", process.env);
console.log("base:", forMainRepo ? "/" : "/Xray-docs-next/");
console.log(
"bundler:",