Shipit-deploy: copy previous release
See original GitHub issueWhen deploying with shipit staging deploy
, i can see in terminal logs:
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@dummy.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 rsyncFrom
.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
shipit-deploy - npm
Create and define release path. Remote copy project. Emit event "updated". deploy:publish. Update symlink. Emit event "published". deploy:clean.
Read more >Shipit-deploy: copy previous release - - Bountysource
When deploying with shipit staging deploy , i can see in terminal logs: Copy previous release to "/home/xy/projectX/releases/20181127210354" Running "cp -a ...
Read more >Copy build to server - shipitjs deployment - Stack Overflow
I need to create the build and copy the build folder to server. I am using shipit for deployment. The files are as...
Read more >How to automate the deployment of a Node.js app using Shipit.js
It starts with a source code copy to other useful processes: ... As Shipit keeps files from the previous releases, it is easy...
Read more >How to automate the deployment of a Node.js app with Shipit ...
Shipit allows you to synchronize a Git repository from a development machine to a remote server. In this example the service provided by...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This should be in the docs. Great help.
Instead of modifying the code you should set
shipit.config.copy
tofalse
this way you achieve the same goal without messing with the code.