ci: remove workflow, add base path

This commit is contained in:
2026-08-23 07:07:49 +05:00
parent 08cf095b83
commit 7918eb9aa8
3 changed files with 11 additions and 36 deletions
+7 -1
View File
@@ -1,4 +1,10 @@
// @ts-check
import { loadEnv } from 'vite'
import { defineConfig } from 'astro/config'
export default defineConfig({})
const mode = process.argv.includes('build') ? 'production' : 'development'
const env = loadEnv(mode, process.cwd(), '')
export default defineConfig({
base: env.PUBLIC_BASE_PATH || '/',
})