I’m new to Drone, and I’m using the appleboy/drone-scp plugin. It works great, but I’m not a Linux so I don’t know what “grep-like” patterns mean.
I have a multi-project gradle build, and basically I just want to include all directories with the name wwwProd.
The following will match ./foo/build/wwwProd but not ./foo/bar/wwwProd. I’d like it to match both. ->
- ./**/build/wwwProd
Full yaml step for reference:
- name: upload
image: appleboy/drone-scp
settings:
host:
- bandbox.dreamhost.com
username:
from_secret: BANDBOX_FTP_USERNAME
password:
from_secret: BANDBOX_FTP_PASSWORD
port: 22
command_timeout: 4m
target: ~/demos.acornui.com/
source:
- ./**/build/wwwProd