andstor/copycat-action

Copy files to a different branch of the same repository

Closed this issue · 2 comments

Based on the documentation it seems this would be possible.

This doesn't seem to work though. Any suggestions? Each push I'd like to copy the README_files from the master to the gh-pages branch.

Ah, solved through the gh-pages action.

Same here, it gives fatal: destination path '<repo-name>' already exists and is not an empty directory. error every time. I assume it is because the name collides with the source repo folder which is already cloned.