From 89a73a9d541257b543ed4f7888068ad5bb106d2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E7=9B=AE=E7=AE=A1=E7=90=86=E5=91=98?= Date: Wed, 7 Jun 2023 13:34:16 +0800 Subject: [PATCH] fix: ci --- .drone.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index aa84ae4..d48aa23 100644 --- a/.drone.yml +++ b/.drone.yml @@ -117,8 +117,8 @@ steps: from_secret: obs_secret commands: - sed -i "s@https://.*"@https://iot-${DRONE_BRANCH}.123.1000my.com"@" build/public/config.json - - obsutil mkdir obs://qianmu-iot/base_qmgo_react-${DRONE_BRANCH}/ - obsutil config -i=$obs_key -k=$obs_secret -e=obs.cn-east-2.myhuaweicloud.com + - obsutil mkdir obs://qianmu-iot/base_qmgo_react-${DRONE_BRANCH}/ - obsutil cp -r -f -flat build obs://qianmu-iot/base_qmgo_react-${DRONE_BRANCH}/ when: branch: @@ -134,8 +134,8 @@ steps: from_secret: obs_secret commands: - sed -i "s@https://.*"@https://iot.1000my.com"@" build/public/config.json - - obsutil mkdir obs://qianmu-iot/base_qmgo_react/ - obsutil config -i=$obs_key -k=$obs_secret -e=obs.cn-east-2.myhuaweicloud.com + - obsutil mkdir obs://qianmu-iot/base_qmgo_react/ - obsutil cp -r -f -flat build obs://qianmu-iot/base_qmgo_react/ when: branch: