From 10a50bc5c135863d3a23fb7f750624191613420c Mon Sep 17 00:00:00 2001 From: Matthew Hand Date: Thu, 7 Nov 2024 20:51:46 +0000 Subject: [PATCH] chore: reset gh-pages.yml and docusaurus.config.ts to match upstream main --- .github/workflows/gh-pages.yml | 3 --- docusaurus.config.ts | 7 +++++-- 2 files changed, 5 insertions(+), 5 deletions(-) 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.