question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shipit-deploy: copy previous release

See original GitHub issue

When 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:open
  • Created 5 years ago
  • Comments:12 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
std4453commented, May 25, 2021

Instead of modifying the code you should set shipit.config.copy to false this way you achieve the same goal without messing with the code.

This should be in the docs. Great help.

1reaction
Edo78commented, Oct 14, 2019

Instead of modifying the code you should set shipit.config.copy to false this way you achieve the same goal without messing with the code.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found