Sync only one subfolder from within my project (for deployment of node app)
klauskobald opened this issue · 0 comments
klauskobald commented
Do you read the FAQ?
- [x ] Yes.
- [ x] I am going to read now.
Describe the bug
I want to sync ONLY one folder ( .output/ ) and its subfolders from inside my projects folder
I am trying this config:
{
"name": "cloud.sfi******",
"host": "**********",
"context": "./output/",
"protocol": "sftp",
"port": 22,
"username": "root",
"remotePath": "/srv/nfs/kubedata/time-tracker/www",
"watcher": {
"files": ".output/**",
"autoUpload": false,
"autoDelete": false
},
"uploadOnSave": false,
"privateKeyPath": "/Users/klausk/.ssh/id_rsa"
}
but I get this error when I run sync local > remote
[07-29 21:57:11] [warn] The "Sync Local To Remote" command get canceled because of missing targets.
The config is my best guess because I have no idea how to set a local path and there is nothing in the documentation.
I assume context is the keyword???
(Upload works fine in other environments, where I simply sync the whole project.)