Skip to content

Self-evolving Context Database for AI Agents. Unify Agent Memory, Knowledge RAG and Skills.

fix docs custom domain asset paths (#1773)

yufeng1507916368a7
diff --git a/.github/workflows/_docs-deploy.yml b/.github/workflows/_docs-deploy.yml
index 0eb30e60a..144d82fa7 100644
--- a/.github/workflows/_docs-deploy.yml
+++ b/.github/workflows/_docs-deploy.yml
@@ -33,7 +33,7 @@ jobs:
run: npm run docs:build
working-directory: docs
env:
- DOCS_BASE: /${{ github.event.repository.name }}/
+ DOCS_BASE: /
- name: Configure GitHub Pages
uses: actions/configure-pages@v6
diff --git a/.github/workflows/_docs.yml b/.github/workflows/_docs.yml
index 741ea8ea4..63a098352 100644
--- a/.github/workflows/_docs.yml
+++ b/.github/workflows/_docs.yml
@@ -28,4 +28,4 @@ jobs:
run: npm run docs:build
working-directory: docs
env:
- DOCS_BASE: /${{ github.event.repository.name }}/
+ DOCS_BASE: /
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 1d2db448f..99a5d36f2 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -35,7 +35,7 @@ jobs:
docs-deploy:
name: Build and Deploy Docs
- if: github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.deploy == true)
+ if: github.repository == 'volcengine/OpenViking' && (github.event_name == 'push' || (github.event_name == 'workflow_dispatch' && inputs.deploy == true))
uses: ./.github/workflows/_docs-deploy.yml
permissions:
contents: read