garygrossgarten / github-action-scp

⬆️ Copy a folder to a remote server using SSH

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

localFile does not exist with wildcard

poespas opened this issue · comments

Hi,

I'm getting an error thrown when I try to transfer a bunch of files containing a wildcard as localFile.

Example:

- name: Copy dist CSS to remote
        uses: garygrossgarten/github-action-scp@release
        with:
          local: dist/css/*.css
          remote: /data/html/css/

Error An error happened:(. localFile does not exist at dist/css/app*.css AssertionError [ERR_ASSERTION]: localFile does not exist at dist/css/app*.css

@poespas wildcards are currently not supported. Please provide a PR if you have an idea of how to implement such functionality.