scp-action
scp-action copied to clipboard
Ignore files with extension
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?
@appleboy bump, any chance of fixing this? ☹️