This repository was archived by the owner on Aug 31, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 43
How to select files without parent folder #168
Copy link
Copy link
Open
Description
Description
Locally I my build goes to ./build folder and i want to deploy it to /var/www/public but it deploys build folder itself so full path on destination becomes /var/www/public/build/.
How can i pick only contents (files and folders) from ./build and deploy them to public folder?
Actual behavior
Parent folder gets deployed to remote server.
Expected behavior
Select only folder contents without folder itself.
Steps to reproduce
{Please write here, including precondition and an example config, if possible}
Example config
"deploy.reloaded": {
"packages": [
{
"name": "name",
"files": [
"build/**/*",
],
"deployOnSave": [ "deployName" ]
}
],
"targets": [
{
"type": "sftp",
"name": "deployName",
"host": "***",
"dir": "/var/www/public/"
}
]
}Your environment
- Operating system: OSX -> ubuntu
- Visual Studio Code version: 1.52.1
- Extension version: 0.89.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels