fix: ci failed

This commit is contained in:
U-JOHNLIU\jonhl 2022-02-17 11:22:45 +08:00
parent a12113ddf5
commit afac0734a5

View File

@ -1227,9 +1227,9 @@ function pre_build_dgiot() {
rm ${script_dir}/dgiot/_build/emqx/rel/ -rf
if [ -d ${script_dir}/dgiot_dashboard/dist ]; then
rm ${script_dir}/dgiot/_build/emqx/lib/dgiot_api -rf
rm ${script_dir}/dgiot/apps/dgiot_api/priv/www/ -rf
cp ${script_dir}/dgiot_dashboard/dist/ ${script_dir}/dgiot/apps/dgiot_api/priv/www -rf
rm ${script_dir}/$plugin/_build/emqx/lib/dgiot_api -rf
rm ${script_dir}/$plugin/apps/dgiot_api/priv/www/ -rf
cp ${script_dir}/dgiot_dashboard/dist/ ${script_dir}/$plugin/apps/dgiot_api/priv/www -rf
fi
if [ -d ${script_dir}/dgiot/emqx/rel/ ]; then