appleboy / appleboy/scp-action
Ignore files with extension
- Dominant language
- Shell
- Stars
- 1.6k
- Forks
- 178
- PR merge metrics
- No merged PRs in 30d
Description
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
```yml
- 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?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the GitHub Actions workflow with the source pattern shown in the issue and inspect how the action handles source paths and exclusions. Done means files ending in .spec.js are omitted from copied files, including those in nested folders.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, shell
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100