My college provided me with 2 virtual machines, one linux and one windows, I was planning to deploy code from my repository into the linux VM and then windows can access it via a samba shared folder because linux will rn my backend and windows will use pm2 serve build for my spa.
My problem is that both servers are on a closed network, accessible only via VPN that they provide us, Is there any way for me to create a pipeline to deploy that code to my machine in this case?
And also can I configure it to do some commands like:
npm install -g, npm start
or
npm install -g, npm run build, pm2 serve build 3000 --spa