scp-action icon indicating copy to clipboard operation
scp-action copied to clipboard

Ignore files with extension

Open paolorr opened this issue 4 years ago • 1 comments

I'm trying to skip all the files with .spec.js extension in any folder, but it's not working, these files are also copied

      - name: Copy files to production
        uses: appleboy/scp-action@master
        with:
          host: ${{ secrets.SSH_HOST }}
          username: ${{ secrets.SSH_USER }}
          port: ${{ secrets.SSH_PORT }}
          key: ${{ secrets.SSH_KEY }}
          source: "package.json,yarn.lock,dist,tmp,uploads,!**/*.spec.js"
          target: "~/app"

What am I missing?

paolorr avatar Nov 01 '20 17:11 paolorr

@appleboy bump, any chance of fixing this? ☹️

Pikachews avatar Dec 03 '20 09:12 Pikachews