Deploy only a give set of files


#1

Hi,
I have a pipeline set to deploy docker containers on a private servers via SSH. My git repo contains all the code source files and the only files I need to copy via SSH are
docker-compose.yml
services/serviceA/Dockerfile
services/serviceB/Dockerfile

Is there a way to specify explicitly the files to upload as opposed to specifying the files to ignore?

cheers


#2

I ended up by creating a Local Shell action that copies the files I need into a local folder and then the Upload step copies all the files from that folder