通过 Codeship 部署到 Digital Ocean 时出现 v8-compile-cache-0 目录

v8-compile-cache-0 directory appears when deploying to Digital Ocean via Codeship

我正在部署到 Digital Ocean via Codeship. Following this 示例,Codeship 在 Droplet 中运行以下自定义脚本:

ssh root@<MY_IP> 'cd /var/www/example/backend/; git checkout master; git pull; npm install;'

一切正常。但是,当我从本地计算机通过 SSH 连接到我的 Droplet 时,更改不会反映在 git 存储库中。相反,有一个名为 v8-compile-cache-0 的目录。阅读 the npm package of that name 的描述并没有加深我的理解。

这是怎么回事,我如何让我拉取的更改正确反映在 Droplet 中?

This all runs fine

用分号将命令串在一起可能会消除命令的问题,否则会返回非零退出代码。

我会首先尝试使用双符号重新构建运行,如果更改仍未反映在您的 Droplet 中,然后联系支持@codeship.com。