You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
We have a large repository with several thousands of files that we regularly update. We clean up the whole repository because the filenames include hashes that change on each update. git rm logs every file deleted which makes the log file very large and possibly takes time.
Yes. I sometimes think the log of git rm is long, me too. I plan to show the log when the debugging flag is enabled only.
BTW, I doubt hiding the log makes fast the deployment process. I don't know the truth until I measure it actually. Simply, the deleting operation is the bottleneck, I think. Did you try to use force_orphan: true? That option does not have any cleaning up operation. If the option is acceptable in your workflow, It may be faster than the current setting.
Is your feature request related to a problem? Please describe
We have a large repository with several thousands of files that we regularly update. We clean up the whole repository because the filenames include hashes that change on each update.
git rm
logs every file deleted which makes the log file very large and possibly takes time.Describe the solution you'd like
It would be great if there was an option to disable the output of
git rm
. As far as I can see, you just need to add--quiet
here:https://github.com/peaceiris/actions-gh-pages/blob/main/src/git-utils.ts#L115
This would reduce the size of the log file and also save some time I guess.
Describe alternatives you've considered
We considered the
keepFiles
option, but as I said, the filenames have hashes so this won't work.Additional context
--
The text was updated successfully, but these errors were encountered: