开发者

Auto run npm install after git pull

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜