mirror of
https://github.com/open-webui/docs.git
synced 2026-01-03 18:26:47 +07:00
feat: use default configs
This commit is contained in:
6
.github/workflows/gh-pages.yml
vendored
6
.github/workflows/gh-pages.yml
vendored
@@ -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
|
||||
@@ -55,5 +52,4 @@ jobs:
|
||||
steps:
|
||||
- name: Deploy to GitHub Pages
|
||||
id: deployment
|
||||
uses: actions/deploy-pages@v4
|
||||
|
||||
uses: actions/deploy-pages@v4
|
||||
@@ -9,11 +9,10 @@ const config: Config = {
|
||||
favicon: "images/favicon.png",
|
||||
|
||||
// Set the production url of your site here
|
||||
url: process.env.SITE_URL || "https://openwebui.com",
|
||||
|
||||
url: "https://openwebui.com",
|
||||
// Set the /<baseUrl>/ pathname under which your site is served
|
||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||
baseUrl: process.env.BASE_URL || "/",
|
||||
baseUrl: "/",
|
||||
|
||||
// GitHub pages deployment config.
|
||||
// If you aren't using GitHub pages, you don't need these.
|
||||
@@ -172,4 +171,4 @@ const config: Config = {
|
||||
plugins: [require.resolve("docusaurus-lunr-search")],
|
||||
};
|
||||
|
||||
export default config;
|
||||
export default config;
|
||||
Reference in New Issue
Block a user