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:",