|
|
@ -117,8 +117,8 @@ steps: |
|
|
from_secret: obs_secret |
|
|
from_secret: obs_secret |
|
|
commands: |
|
|
commands: |
|
|
- sed -i "s@https://.*"@https://iot-${DRONE_BRANCH}.123.1000my.com"@" build/public/config.json |
|
|
- 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 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}/ |
|
|
- obsutil cp -r -f -flat build obs://qianmu-iot/base_qmgo_react-${DRONE_BRANCH}/ |
|
|
when: |
|
|
when: |
|
|
branch: |
|
|
branch: |
|
|
@ -134,8 +134,8 @@ steps: |
|
|
from_secret: obs_secret |
|
|
from_secret: obs_secret |
|
|
commands: |
|
|
commands: |
|
|
- sed -i "s@https://.*"@https://iot.1000my.com"@" build/public/config.json |
|
|
- 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 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/ |
|
|
- obsutil cp -r -f -flat build obs://qianmu-iot/base_qmgo_react/ |
|
|
when: |
|
|
when: |
|
|
branch: |
|
|
branch: |
|
|
|