s0 / git-publish-subdir-action

GitHub Action to push a subdirectory as a branch to any git repo (e.g. for GitHub Pages)
https://github.com/marketplace/actions/push-git-subdirectory-as-branch
MIT License
208 stars 36 forks source link

Allow for non-root target directory #70

Closed s0 closed 1 year ago

s0 commented 2 years ago

There have been a number of requests around pushing to sub-directories of target branches, rather than the root. This is possible with a custom CLEAR_GLOBS_FILE file, and by replicating the structure of the target directory, but this usage could be significantly simplified.

(e.g. #64, #65, etc...)

jdcmarques commented 1 year ago

Hey, just opened a PR with an implementation for this, can you take a look?

82