FTP-Deploy-Action icon indicating copy to clipboard operation
FTP-Deploy-Action copied to clipboard

How can I exclude all the files of a folder except one?

Open bydiogosampaio opened this issue 2 years ago • 1 comments

Hi, I'm trying to exclude all the files of a folder except a specific file from being deployed to the server. How can I do this with "exclude"?

On .gitignore it would look something like this. But how can achieve the same with the "exclude" in the workflow action file?

# Composer
vendor/* 
!vendor/autoload.php

bydiogosampaio avatar Jun 13 '22 20:06 bydiogosampaio

@bydiogosampaio Hello, did you find any way to do that?

zvassos avatar Aug 03 '22 09:08 zvassos