修复打包路径
This commit is contained in:
@@ -14,7 +14,7 @@ module.exports = {
|
|||||||
console.log(`${path}=========>${exists}`)
|
console.log(`${path}=========>${exists}`)
|
||||||
if (exists) {
|
if (exists) {
|
||||||
execute(`cd ${path}&&zip -r ${info.id}.zip .`)
|
execute(`cd ${path}&&zip -r ${info.id}.zip .`)
|
||||||
.then(() => execute(`cd ${path}&&mv ${info.id}.zip ~/../zips/`))
|
.then(() => execute(`cd ${path}&&mv ${info.id}.zip /home/deploy/node_deploy/zips/`))
|
||||||
.then(() => {
|
.then(() => {
|
||||||
console.log('压缩完成!')
|
console.log('压缩完成!')
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
|
|||||||
Reference in New Issue
Block a user