ci: 更新环境变量并添加前端构建脚本
- 修改 .env.production 文件中的 VITE_API_BASE_URL 为新的后端服务地址- 在 package.json 中添加 build:frontend 脚本,用于前端项目构建 - 注释掉 pom.xml 中的 Docker 镜像构建配置
This commit is contained in:
@@ -139,6 +139,18 @@
|
||||
<plugin>
|
||||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||
<!-- 添加下面的在打包的时候不需要这docker。。。-->
|
||||
<!-- <executions>-->
|
||||
<!-- <execution>-->
|
||||
<!-- <id>build-backend</id>-->
|
||||
<!-- <goals>-->
|
||||
<!-- <goal>build-image</goal>-->
|
||||
<!-- </goals>-->
|
||||
<!-- <configuration>-->
|
||||
<!-- <imageName>${project.artifactId}:${project.version}</imageName>-->
|
||||
<!-- </configuration>-->
|
||||
<!-- </execution>-->
|
||||
<!-- </executions>-->
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.spotify</groupId>
|
||||
|
||||
@@ -1 +1 @@
|
||||
VITE_API_BASE_URL=https://liu-pox.311169.xyz
|
||||
VITE_API_BASE_URL=https://biji-houdaun.311169.xyz
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
"build": "vite build",
|
||||
"build:frontend": "vite build",
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user