开发者

Auto run npm install after git pull

开发者 https://www.devze.com 2022-12-07 22:40 出处:网络
so开发者_如何学Go I have my own VPS, and I installed CyberPanel to host my website. The problem is that there is no option to do a command after my git is being pulled to the server. So I have to incl

so开发者_如何学Go I have my own VPS, and I installed CyberPanel to host my website. The problem is that there is no option to do a command after my git is being pulled to the server. So I have to include node_modules in the repository which is a pain. Is there a way to automate the npm i script using anything like pm2 or something else? I have the root access in the VPS so I can install anything.

0

精彩评论

暂无评论...
验证码 换一张
取 消