How is your build pipeline script setup then ?
Technically you want to push it to the server, (don’t think you need to build it)
Or even better you could use Docker, build pipeline builds the image tags it, then pushes it to your own repo server holding them.
Server then will pull latest image and run the image.
For people to help, knowing what server you are deploying to, how you are running it is quite crucial because it’s part of how you would solve this problem.
PS: Make sure you upgrade your Strapi version to latest as you are quite far behind,