diff --git a/src/websocket/custom/getZip.js b/src/websocket/custom/getZip.js index b02ceed..6cb77ad 100644 --- a/src/websocket/custom/getZip.js +++ b/src/websocket/custom/getZip.js @@ -60,11 +60,12 @@ const handleZip = (id, ws) => { if (info.id) { const {signal} = controller; const progress = new counter(`正在处理 ${info.name} 的打包工作...`) - if (info.type == 'web') { + if (['web','wxwork'].includes(info.type)) { const {name, version, dist} = info const deploy = dist?.trim() || `${name}v${version}` const buildConfig = { web: {task: "devops-web", token: 'fLeOGSVIRs405Me'}, + wxwork: {task: "devops-h5", token: 'fLeOGSVIRs405Me'}, }[info.type] let currentJob = 1 startUpdateSql()