actions-gh-pages
actions-gh-pages copied to clipboard
remove only certain directories
Is your feature request related to a problem? Please describe
I update only certain directories of a repository, however their filenames change. Thus, I need a way to clean only certain directories before copying the new files.
Describe the solution you'd like
a glob pattern that specifies either the files to keep or another glob pattern that specifies the files to remove.
Describe alternatives you've considered
implementing it using a shell script but the deploy key isn't that easy.
I don't fully understand the background of your issue, but this issue seems to be a duplicate of #163
implementing it using a shell script but the deploy key isn't that easy.
Shell Script? Are you still using version 2? This Action has been migrated to a TypeScript Action (version 3). There are no plans to add any new features to version 2. Please use the v3.
Thank you for creating #279. I understood your proposal by the Pull Request.
I'm going to look at this proposal in a positive way and add test cases.
In the future, we can merge keep_files
and remove_path_spec
into a single option. I plan to do it for the release v4.
@peaceiris Any update on this? My use case is I need to remove everything except certain files/directories.