jukye/Push directory to another repository

Useful to push files to another repository to be used, for example, via github pages

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Activelast commit Jul 10, 2026
License
None

Pinned Snippet

workflow.ymlSHA-pinned
uses: jukye/pushz@f39930f4d6e632be73cd3cf6b10ce97a71b1c800 # no releases — HEAD as of 2026-07-11

tags can be moved; commit SHAs can't. why a SHA?

namedescriptionrequireddefault
source-before-directorySource before directory from the origin directoryno
source-directorySource directory from the origin directoryyes
destination-github-usernameName of the destination username/organizationyes
destination-repository-nameDestination repositoryyes
user-emailEmail for the git commityes
github-serverGithub servernogithub.com
user-name[Optional] Name for the git commit. Defaults to the destination username/organization nameno""
destination-repository-username[Optional] Username/organization for the destination repositoryno""
target-branch[Optional] set target branch name for the destination repository. Defaults to "main"nomain
commit-message[Optional] commit message for the output repository. ORIGIN_COMMIT is replaced by the URL@commit in the origin reponoUpdate from ORIGIN_COMMIT
target-directory[Optional] The directory to wipe and replace in the target repositoryno""
create-target-branch-if-needed[Optional] create target branch if not exist. Defaults to `false`nofalse

no outputs