{"action":"created","issue":{"url":"https://api.github.com/repos/banago/PHPloy/issues/88","labels_url":"https://api.github.com/repos/banago/PHPloy/issues/88/labels{/name}","comments_url":"https://api.github.com/repos/banago/PHPloy/issues/88/comments","events_url":"https://api.github.com/repos/banago/PHPloy/issues/88/events","html_url":"https://github.com/banago/PHPloy/issues/88","id":58890072,"number":88,"title":"Applying $filesToIgnore on files to delete","user":{"login":"GuidoHendriks","id":5393965,"avatar_url":"https://avatars.githubusercontent.com/u/5393965?v=3","gravatar_id":"","url":"https://api.github.com/users/GuidoHendriks","html_url":"https://github.com/GuidoHendriks","followers_url":"https://api.github.com/users/GuidoHendriks/followers","following_url":"https://api.github.com/users/GuidoHendriks/following{/other_user}","gists_url":"https://api.github.com/users/GuidoHendriks/gists{/gist_id}","starred_url":"https://api.github.com/users/GuidoHendriks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GuidoHendriks/subscriptions","organizations_url":"https://api.github.com/users/GuidoHendriks/orgs","repos_url":"https://api.github.com/users/GuidoHendriks/repos","events_url":"https://api.github.com/users/GuidoHendriks/events{/privacy}","received_events_url":"https://api.github.com/users/GuidoHendriks/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/banago/PHPloy/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-25T11:53:23Z","updated_at":"2015-02-25T12:59:27Z","closed_at":null,"body":"When rolling back after creating files, it tries to delete the files on the server. If one of the files created in the last commit is in `$filesToIgnore`, it still tries to delete that file. That fails because it wasn't uploaded to the server in the first place."},"comment":{"url":"https://api.github.com/repos/banago/PHPloy/issues/comments/75955455","html_url":"https://github.com/banago/PHPloy/issues/88#issuecomment-75955455","issue_url":"https://api.github.com/repos/banago/PHPloy/issues/88","id":75955455,"user":{"login":"banago","id":339914,"avatar_url":"https://avatars.githubusercontent.com/u/339914?v=3","gravatar_id":"","url":"https://api.github.com/users/banago","html_url":"https://github.com/banago","followers_url":"https://api.github.com/users/banago/followers","following_url":"https://api.github.com/users/banago/following{/other_user}","gists_url":"https://api.github.com/users/banago/gists{/gist_id}","starred_url":"https://api.github.com/users/banago/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/banago/subscriptions","organizations_url":"https://api.github.com/users/banago/orgs","repos_url":"https://api.github.com/users/banago/repos","events_url":"https://api.github.com/users/banago/events{/privacy}","received_events_url":"https://api.github.com/users/banago/received_events","type":"User","site_admin":false},"created_at":"2015-02-25T12:59:27Z","updated_at":"2015-02-25T12:59:27Z","body":"Right now, when it fails to delete it throws an exception too, which should not happen since it stops the deployment and it should not happen. I hope to enhance this part on v4. For now let's fix what you are describing. Great catch."}}