{"action":"created","issue":{"url":"https://api.github.com/repos/poetic/ember-cli-github-pages/issues/37","repository_url":"https://api.github.com/repos/poetic/ember-cli-github-pages","labels_url":"https://api.github.com/repos/poetic/ember-cli-github-pages/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/poetic/ember-cli-github-pages/issues/37/comments","events_url":"https://api.github.com/repos/poetic/ember-cli-github-pages/issues/37/events","html_url":"https://github.com/poetic/ember-cli-github-pages/issues/37","id":120630256,"number":37,"title":"Create the gh-pages branch if not existent","user":{"login":"cironunes","id":469908,"avatar_url":"https://avatars.githubusercontent.com/u/469908?v=3","gravatar_id":"","url":"https://api.github.com/users/cironunes","html_url":"https://github.com/cironunes","followers_url":"https://api.github.com/users/cironunes/followers","following_url":"https://api.github.com/users/cironunes/following{/other_user}","gists_url":"https://api.github.com/users/cironunes/gists{/gist_id}","starred_url":"https://api.github.com/users/cironunes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cironunes/subscriptions","organizations_url":"https://api.github.com/users/cironunes/orgs","repos_url":"https://api.github.com/users/cironunes/repos","events_url":"https://api.github.com/users/cironunes/events{/privacy}","received_events_url":"https://api.github.com/users/cironunes/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-06T12:07:32Z","updated_at":"2016-02-23T01:52:22Z","closed_at":null,"body":"if you just try to deploy without creating the branch first it will fail\r\n\r\n```\r\nCommand failed: /bin/sh -c git checkout gh-pages\r\nerror: pathspec 'gh-pages' did not match any file(s) known to git.\r\n\r\nError: Command failed: /bin/sh -c git checkout gh-pages\r\nerror: pathspec 'gh-pages' did not match any file(s) known to git.\r\n\r\n    at ChildProcess.exithandler (child_process.js:203:12)\r\n    at emitTwo (events.js:87:13)\r\n    at ChildProcess.emit (events.js:172:7)\r\n    at maybeClose (internal/child_process.js:818:16)\r\n    at Socket.<anonymous> (internal/child_process.js:319:11)\r\n    at emitOne (events.js:77:13)\r\n    at Socket.emit (events.js:169:7)\r\n    at Pipe._onclose (net.js:469:12)\r\n```"},"comment":{"url":"https://api.github.com/repos/poetic/ember-cli-github-pages/issues/comments/187473967","html_url":"https://github.com/poetic/ember-cli-github-pages/issues/37#issuecomment-187473967","issue_url":"https://api.github.com/repos/poetic/ember-cli-github-pages/issues/37","id":187473967,"user":{"login":"knownasilya","id":34726,"avatar_url":"https://avatars.githubusercontent.com/u/34726?v=3","gravatar_id":"","url":"https://api.github.com/users/knownasilya","html_url":"https://github.com/knownasilya","followers_url":"https://api.github.com/users/knownasilya/followers","following_url":"https://api.github.com/users/knownasilya/following{/other_user}","gists_url":"https://api.github.com/users/knownasilya/gists{/gist_id}","starred_url":"https://api.github.com/users/knownasilya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knownasilya/subscriptions","organizations_url":"https://api.github.com/users/knownasilya/orgs","repos_url":"https://api.github.com/users/knownasilya/repos","events_url":"https://api.github.com/users/knownasilya/events{/privacy}","received_events_url":"https://api.github.com/users/knownasilya/received_events","type":"User","site_admin":false},"created_at":"2016-02-23T01:52:22Z","updated_at":"2016-02-23T01:52:22Z","body":"@cironunes do you think that would be a good solution in the short term?"}}