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
210 stars 36 forks source link

Dot started files are not uploaded. #6

Closed DmitrijOkeanij closed 4 years ago

DmitrijOkeanij commented 4 years ago

I have file named ".MyRootFile". Its name starts with dot. This file is on workflow root folder but do not upload to remote repository.

nolanbconaway commented 4 years ago

Same problem! This was not an issue a month or two ago, did something change?

benfavre commented 4 years ago

I'm experiencing this also, but if you fix it, and you have workflow files you end up with an error (refusing to allow a bot to create or update workflow `.github/workflows/), so I guess it's a safeguard

s0 commented 4 years ago

Hey, sorry for the delay, I'm taking a look at this now!

I'm experiencing this also, but if you fix it, and you have workflow files you end up with an error (refusing to allow a bot to create or update workflow `.github/workflows/), so I guess it's a safeguard

It's not an intentional safeguard at least, there are many legitimate circumstances for adding dotfiles that don't include workflow files =)

s0 commented 4 years ago

Fixed and published a new version: https://github.com/s0/git-publish-subdir-action/releases/tag/v2.1.0