Browse Source

强制拉取

zhijiezhao 1 month ago
parent
commit
5d03b16b8b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      caimei365-cloud-config/src/main/resources/application.yml

+ 1 - 0
caimei365-cloud-config/src/main/resources/application.yml

@@ -13,6 +13,7 @@ spring:
           username: caimei_code
           password: G7f$x3e9@52kLvQZ
           clone-on-start: true #开启启动时直接从git获取配置
+          force-pull: true
           search-paths: /**  # 指定搜索根路径下的所有目录,若有多个路径使用逗号隔开
 #        native:
 #          search-locations:  D:/_CAIMEI_WORKSPACE/caimei365-cloud-config-files-local   # 本地配置文件路径