Compare commits

...

3 Commits

Author SHA1 Message Date
bb44d6f5e6 Feature: 添加基于Drone的CI/CD配置
Some checks failed
continuous-integration/drone Build is failing
2025-07-15 11:51:54 +08:00
b214af4c93 Fix: 修正基地址逻辑,使开发版本与构建版本基地址分离 2025-07-15 08:41:59 +08:00
0fdc4ebbb5 Debug: 为dev项目添加基地址用于内部访问 2025-07-12 15:52:14 +08:00
2 changed files with 11 additions and 0 deletions

10
.drone.yml Normal file
View File

@ -0,0 +1,10 @@
kind: pipeline
type: docker
name: build-and-deploy
steps:
- name: install & build
image: oven/bun
commands:
- bun install
- bun run build

View File

@ -96,4 +96,5 @@ export default defineConfig({
},
},
},
base: process.env.NODE_ENV === 'production' ? '/calculator-dev/' : '/',
})