Create your Gitee Account
Explore and code with more than 12 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
ecosystem.config.js 553 Bytes
Copy Edit Raw Blame History
尼克陈 authored 2021-07-12 10:39 . 本地打包dist
module.exports = {
apps: [
{
name: 'vue3-admin',
script: 'vue3-admin-server.js'
},
],
deploy: {
production: {
user: 'root',
host: '47.99.134.126',
ref: 'origin/main',
repo: 'git@git.zhlh6.cn:newbee-ltd/vue3-admin.git',
path: '/workspace/vue3-admin',
'post-deploy': 'git reset --hard && git checkout main && git pull && npm i --production=false && pm2 startOrReload ecosystem.config.js', // -production=false 下载全量包
env: {
NODE_ENV: 'production'
}
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化