-
Notifications
You must be signed in to change notification settings - Fork 209
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
Can we give multiple files to copy to different destinations? #33
Comments
In it's current state you could add the action multiple times if you have a lot of files in different places. If all the files are in the same dir, could copy the entire directory. You could also setup an action before it to collect all the files to copy so it only does one copy, but you'd have to sort them out in the destination repo somehow. The main problem is how to collect all the different file paths. Deciding on a way that doesn't break backwards compatibility needs to be done. |
@LakshmiRavali you can check my example here https://github.com/JoseRodrigues443/Awesome-CV/blob/master/.github/workflows/main.yml Basically I use a matrix with key values (location and destination) and with that I can do what you need
|
I'm trying to use this action in my project. but i also need to push all files in one directory. Is there a possible way? |
I am using this github action, It is copying one source file to one destination directory, Can we give multiple sources and destinations?
My yml file:
The text was updated successfully, but these errors were encountered: