Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bydiogosampaio opened this issue Jun 13, 2022 · 1 comment
Open

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

bydiogosampaio opened this issue Jun 13, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@bydiogosampaio
Copy link

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
@zvassos
Copy link

zvassos commented Aug 3, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants