diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 868b89b..2a97016 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -36,9 +36,6 @@ jobs: - name: Install dependencies run: npm ci - name: Build - env: - BASE_URL: ${{ vars.BASE_URL }} - SITE_URL: ${{ vars.SITE_URL }} run: npm run build - name: Upload artifact uses: actions/upload-pages-artifact@v3 diff --git a/docusaurus.config.ts b/docusaurus.config.ts index 8c6a12d..ad581fe 100644 --- a/docusaurus.config.ts +++ b/docusaurus.config.ts @@ -8,8 +8,11 @@ const config: Config = { tagline: "ChatGPT-Style WebUI for LLMs (Formerly Ollama WebUI)", favicon: "img/favicon.png", - url: process.env.SITE_URL || "https://openwebui.com", - baseUrl: process.env.BASE_URL || "/", + // Set the production url of your site here + url: "https://openwebui.com", + // Set the // pathname under which your site is served + // For GitHub pages deployment, it is often '//' + baseUrl: "/", // GitHub pages deployment config. // If you aren't using GitHub pages, you don't need these.