{"action":"created","issue":{"url":"https://api.github.com/repos/jirutka/rake-jekyll/issues/6","labels_url":"https://api.github.com/repos/jirutka/rake-jekyll/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/jirutka/rake-jekyll/issues/6/comments","events_url":"https://api.github.com/repos/jirutka/rake-jekyll/issues/6/events","html_url":"https://github.com/jirutka/rake-jekyll/issues/6","id":76910041,"number":6,"title":"Support deploy keys","user":{"login":"razor-x","id":721372,"avatar_url":"https://avatars.githubusercontent.com/u/721372?v=3","gravatar_id":"","url":"https://api.github.com/users/razor-x","html_url":"https://github.com/razor-x","followers_url":"https://api.github.com/users/razor-x/followers","following_url":"https://api.github.com/users/razor-x/following{/other_user}","gists_url":"https://api.github.com/users/razor-x/gists{/gist_id}","starred_url":"https://api.github.com/users/razor-x/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/razor-x/subscriptions","organizations_url":"https://api.github.com/users/razor-x/orgs","repos_url":"https://api.github.com/users/razor-x/repos","events_url":"https://api.github.com/users/razor-x/events{/privacy}","received_events_url":"https://api.github.com/users/razor-x/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":12,"created_at":"2015-05-16T01:11:07Z","updated_at":"2015-06-28T22:51:18Z","closed_at":"2015-06-28T22:21:37Z","body":"I've made some updates to my original Rake task. In particular, I've switched to using deploy keys over tokens. Here is the behavior I imagine should be implemented here.\r\n\r\n1) Check for `.deploy_key`, if found use the deploy key method. (Add an option to set the name of the `deploy_key` file to use). This method needs to use git over ssh not https.\r\n2) Otherwise fall back to token method.\r\n\r\nSee here for the relevant changes in `Rakefile`: https://github.com/razor-x/jekyll-and-zurb/compare/15465d21578aa0af20837f3ec7d228c6efeffe6f...master\r\n\r\nNote in particular that the deploy key should never be allowed to be committed to the build (e.g. don't leave it up to the user to add it to some ignore file).\r\n\r\nAlso updated README instructions: https://github.com/razor-x/jekyll-and-zurb#automatic-publishing-to-github-pages-with-travis-ci\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jirutka/rake-jekyll/issues/comments/116357041","html_url":"https://github.com/jirutka/rake-jekyll/issues/6#issuecomment-116357041","issue_url":"https://api.github.com/repos/jirutka/rake-jekyll/issues/6","id":116357041,"user":{"login":"jirutka","id":949228,"avatar_url":"https://avatars.githubusercontent.com/u/949228?v=3","gravatar_id":"","url":"https://api.github.com/users/jirutka","html_url":"https://github.com/jirutka","followers_url":"https://api.github.com/users/jirutka/followers","following_url":"https://api.github.com/users/jirutka/following{/other_user}","gists_url":"https://api.github.com/users/jirutka/gists{/gist_id}","starred_url":"https://api.github.com/users/jirutka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jirutka/subscriptions","organizations_url":"https://api.github.com/users/jirutka/orgs","repos_url":"https://api.github.com/users/jirutka/repos","events_url":"https://api.github.com/users/jirutka/events{/privacy}","received_events_url":"https://api.github.com/users/jirutka/received_events","type":"User","site_admin":false},"created_at":"2015-06-28T22:51:18Z","updated_at":"2015-06-28T22:51:18Z","body":"@razor-x, please let me know if it works for you. I’ll publish 1.1.0 after that."}}