作者:新手村一霸 | 来源:互联网 | 2023-08-26 16:13
When deploying with
, i can see in terminal logs:
1 2 3 4 5 6
| sh
Copy previous release to "/home/xy/projectX/releases/20181127210354"
Running "cp -a /home/xy/projectX/releases/20181125015850/. /home/xy/projectX/releases/20181127210354" on host "dummy.com".
Copy project to remote servers.
"copy" method is deprecated, please use "copyToRemote", "copyFromRemote", "scpCopyToRemote" or "scpCopyFromRemote". It will break in v5.0.0.
Copy "/Users/xy/projectX/dist/" to "xy.com:/home/xy/projectX/releases/20181127210354" via rsync |
Copy previous release
Can you explain what it is used for? This task takes a lot of time, although it is not needed becuase new files were pulled/copied from local, and i can't see any of the copied files in the new directory. So I guess they were overwritten afterwards by my new files from
.
该提问来源于开源项目:shipitjs/shipit
Instead of modifying the code you should set
to
this way you achieve the same goal without messing with the code.