{"action":"created","issue":{"url":"https://api.github.com/repos/drone-plugins/drone-sftp/issues/13","repository_url":"https://api.github.com/repos/drone-plugins/drone-sftp","labels_url":"https://api.github.com/repos/drone-plugins/drone-sftp/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/drone-plugins/drone-sftp/issues/13/comments","events_url":"https://api.github.com/repos/drone-plugins/drone-sftp/issues/13/events","html_url":"https://github.com/drone-plugins/drone-sftp/issues/13","id":190028841,"number":13,"title":" Cannot find module '/drone/src/index.js'","user":{"login":"fr4n3r","id":11749429,"avatar_url":"https://avatars.githubusercontent.com/u/11749429?v=3","gravatar_id":"","url":"https://api.github.com/users/fr4n3r","html_url":"https://github.com/fr4n3r","followers_url":"https://api.github.com/users/fr4n3r/followers","following_url":"https://api.github.com/users/fr4n3r/following{/other_user}","gists_url":"https://api.github.com/users/fr4n3r/gists{/gist_id}","starred_url":"https://api.github.com/users/fr4n3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fr4n3r/subscriptions","organizations_url":"https://api.github.com/users/fr4n3r/orgs","repos_url":"https://api.github.com/users/fr4n3r/repos","events_url":"https://api.github.com/users/fr4n3r/events{/privacy}","received_events_url":"https://api.github.com/users/fr4n3r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-17T12:06:08Z","updated_at":"2016-11-17T12:11:18Z","closed_at":null,"body":"Hi Im having problems with the plugin and i don't know what is wrong. \r\n\r\nMy .drone.yml has the following settings:\r\n...\r\nsftp_upload:\r\n    image: plugins/drone-sftp\r\n    host: $$SFTP_HOST\r\n    username: $$SFTP_USERNAME\r\n    password: $$SFTP_PASSWORD\r\n    destination_path: /root/docker/\r\n    files:\r\n     - /drone/src/.drone/docker-compose.yml\r\n...\r\n\r\nAnd the error is:\r\n\r\nmodule.js:328\r\n    throw err;\r\n    ^\r\nError: Cannot find module '/drone/src/index.js'\r\n    at Function.Module._resolveFilename (module.js:326:15)\r\n    at Function.Module._load (module.js:277:25)\r\n    at Function.Module.runMain (module.js:442:10)\r\n    at startup (node.js:136:18)\r\n    at node.js:966:3\r\n\r\nthanks in advance"},"comment":{"url":"https://api.github.com/repos/drone-plugins/drone-sftp/issues/comments/261231656","html_url":"https://github.com/drone-plugins/drone-sftp/issues/13#issuecomment-261231656","issue_url":"https://api.github.com/repos/drone-plugins/drone-sftp/issues/13","id":261231656,"user":{"login":"athieriot","id":661901,"avatar_url":"https://avatars.githubusercontent.com/u/661901?v=3","gravatar_id":"","url":"https://api.github.com/users/athieriot","html_url":"https://github.com/athieriot","followers_url":"https://api.github.com/users/athieriot/followers","following_url":"https://api.github.com/users/athieriot/following{/other_user}","gists_url":"https://api.github.com/users/athieriot/gists{/gist_id}","starred_url":"https://api.github.com/users/athieriot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/athieriot/subscriptions","organizations_url":"https://api.github.com/users/athieriot/orgs","repos_url":"https://api.github.com/users/athieriot/repos","events_url":"https://api.github.com/users/athieriot/events{/privacy}","received_events_url":"https://api.github.com/users/athieriot/received_events","type":"User","site_admin":false},"created_at":"2016-11-17T12:11:18Z","updated_at":"2016-11-17T12:11:18Z","body":"Yeah. This plugin is only for 0.4 at the moment"}}
{"actor":{"display_login":"athieriot"}}