Reputation: 6462
It's beens ome time since I've been trying to figure out the really easy way.
I am using gitlab CI/CD and want to move the built data from there to AWS EC2. Problem is i found 2 ways which both are really bad ideas.
ssh
into the AWS, pull the project from there again, and run npm
scripts. This is really wrong and I won't go into details why.Isn't there any easier way to copy built files from gitlab ci/cd to AWS EC2 ?
Upvotes: 0
Views: 1468
Reputation: 1280
I use Gitlab as well, and what has worked for me is configuring my runners on EC2 instances. A few options come to mind:
Upvotes: 2