garygrossgarten / github-action-scp

⬆️ Copy a folder to a remote server using SSH
MIT License
190 stars 53 forks source link

Dot Files not being copied #10

Closed Pedroglp closed 3 years ago

Pedroglp commented 4 years ago

Well, I do not know if it was expected to scp copy dot files but it isn't.

Since I have many of my server configurations in those files my build was not successful.

gs-tuannd commented 4 years ago

Yes, i have same problem, scp can't copy dot file like: .env, dot folder like .hidden folder. I just try, but not working

with:
    local: build/.
    remote: /build
BernhardBehrendt commented 4 years ago

Reason is a npm dependency node-ssh More exactly this default validation.

But for today I'm done ;-)

DavideViolante commented 3 years ago

This seems to work instead https://github.com/garygrossgarten/github-action-scp

garygrossgarten commented 3 years ago

The latest version (0.7.0) should now support dotfiles.