{"action":"created","issue":{"url":"https://api.github.com/repos/mkloubert/vscode-deploy-reloaded/issues/25","repository_url":"https://api.github.com/repos/mkloubert/vscode-deploy-reloaded","labels_url":"https://api.github.com/repos/mkloubert/vscode-deploy-reloaded/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/mkloubert/vscode-deploy-reloaded/issues/25/comments","events_url":"https://api.github.com/repos/mkloubert/vscode-deploy-reloaded/issues/25/events","html_url":"https://github.com/mkloubert/vscode-deploy-reloaded/issues/25","id":297152388,"number":25,"title":" [help-needed] Button for deploy specific folder","user":{"login":"vystepanenko","id":22811452,"avatar_url":"https://avatars3.githubusercontent.com/u/22811452?v=4","gravatar_id":"","url":"https://api.github.com/users/vystepanenko","html_url":"https://github.com/vystepanenko","followers_url":"https://api.github.com/users/vystepanenko/followers","following_url":"https://api.github.com/users/vystepanenko/following{/other_user}","gists_url":"https://api.github.com/users/vystepanenko/gists{/gist_id}","starred_url":"https://api.github.com/users/vystepanenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vystepanenko/subscriptions","organizations_url":"https://api.github.com/users/vystepanenko/orgs","repos_url":"https://api.github.com/users/vystepanenko/repos","events_url":"https://api.github.com/users/vystepanenko/events{/privacy}","received_events_url":"https://api.github.com/users/vystepanenko/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-14T16:08:34Z","updated_at":"2018-02-15T07:17:01Z","closed_at":null,"author_association":"NONE","body":"Hello!\r\nI want to create a button to deploy specific folder from anywhere in project. Is this possible?\r\n\r\nI'll try to do the following\r\n\r\n#### Example config\r\n```json\r\n{\r\n    \"deploy.reloaded\": {\r\n        \"packages\": [\r\n            {\r\n                \"name\": \"Public to test\",\r\n                \r\n                \"button\": {\r\n                    \"text\": \"Deploy to 'test'\",\r\n                    \"tooltip\": \"Click here to deploy to the target...\",\r\n                    \"targets\": [ \"Test\" ]\r\n                }\r\n            }\r\n        ],\r\n        \"targets\": [\r\n            {\r\n                \"type\": \"sftp\",\r\n                \"name\": \"Test\",\r\n                \"description\": \"Test server\",\r\n                \"dir\": \"/var/www/html/myProject\",\r\n                \"mappings\": {\r\n                    \"/public\": \"/public\"\r\n                }\r\n            }          \r\n        ]\r\n       }\r\n} \r\n```\r\n\r\nBut it deploy all my project to server instead  one folder\r\n### Your environment\r\n\r\n- Operating system: Windows 10\r\n- Visual Studio Code version: 1.20.1\r\n- Extension version: 0.50.0\r\n"},"comment":{"url":"https://api.github.com/repos/mkloubert/vscode-deploy-reloaded/issues/comments/365843840","html_url":"https://github.com/mkloubert/vscode-deploy-reloaded/issues/25#issuecomment-365843840","issue_url":"https://api.github.com/repos/mkloubert/vscode-deploy-reloaded/issues/25","id":365843840,"user":{"login":"vystepanenko","id":22811452,"avatar_url":"https://avatars3.githubusercontent.com/u/22811452?v=4","gravatar_id":"","url":"https://api.github.com/users/vystepanenko","html_url":"https://github.com/vystepanenko","followers_url":"https://api.github.com/users/vystepanenko/followers","following_url":"https://api.github.com/users/vystepanenko/following{/other_user}","gists_url":"https://api.github.com/users/vystepanenko/gists{/gist_id}","starred_url":"https://api.github.com/users/vystepanenko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vystepanenko/subscriptions","organizations_url":"https://api.github.com/users/vystepanenko/orgs","repos_url":"https://api.github.com/users/vystepanenko/repos","events_url":"https://api.github.com/users/vystepanenko/events{/privacy}","received_events_url":"https://api.github.com/users/vystepanenko/received_events","type":"User","site_admin":false},"created_at":"2018-02-15T07:17:01Z","updated_at":"2018-02-15T07:17:01Z","author_association":"NONE","body":"thnx. I specified glob patterns in files properties and its work. \r\nBut I have several targets and when I pres button it still asked me to what exactly target i want to deploy "}}
{"actor":{"display_login":"vystepanenko"}}