mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-02-21 08:53:14 +03:00
action: update token
This commit is contained in:
parent
d698965203
commit
48dce3e6ab
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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:",
|
||||
|
Loading…
x
Reference in New Issue
Block a user