DEV Community

Discussion on: Deploy Node.js using Gitlab CI pipeline

Collapse
 
oskarspakers profile image
Oskars

Thanks for the post.
I've been using git checkout approach for a while, but it has a drawback that it cant promote older version. It will always checkout the latest commit.
I have switched to packing app in tar.gz file and unzipping on the server instead.
It is not a problem for everybody of course.