优化下载打包
This commit is contained in:
@@ -16,8 +16,8 @@ module.exports = {
|
||||
wxwork: 'base-wxcp',
|
||||
mp: 'dvcp_v2_wxmp'
|
||||
}[info.type] || {}
|
||||
const path = `/home/deploy/node_deploy/${buildPath}`,
|
||||
{dist} = info
|
||||
const path = `../${buildPath}`,
|
||||
{dist = `../zips/${id}`} = info
|
||||
Promise.all([
|
||||
execute(`./shell/update.sh ${info.name} ${path}`),
|
||||
db.query(sql)
|
||||
|
||||
Reference in New Issue
Block a user