From 48dce3e6ab3968c97b5d1b8075a2c50770f61669 Mon Sep 17 00:00:00 2001 From: hmol233 <82594500+hmol233@users.noreply.github.com> Date: Wed, 15 Sep 2021 18:41:41 +0800 Subject: [PATCH] action: update token --- .github/workflows/build.yml | 2 +- docs/.vuepress/config.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index be0a557f3..e94a8aad6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index 293b0d389..35c461d95 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -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:",