{"action":"created","issue":{"url":"https://api.github.com/repos/angular/router/issues/55","labels_url":"https://api.github.com/repos/angular/router/issues/55/labels{/name}","comments_url":"https://api.github.com/repos/angular/router/issues/55/comments","events_url":"https://api.github.com/repos/angular/router/issues/55/events","html_url":"https://github.com/angular/router/issues/55","id":54947150,"number":55,"title":"chore(build): script for publishing to GH pages","user":{"login":"btford","id":474988,"avatar_url":"https://avatars.githubusercontent.com/u/474988?v=3","gravatar_id":"","url":"https://api.github.com/users/btford","html_url":"https://github.com/btford","followers_url":"https://api.github.com/users/btford/followers","following_url":"https://api.github.com/users/btford/following{/other_user}","gists_url":"https://api.github.com/users/btford/gists{/gist_id}","starred_url":"https://api.github.com/users/btford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btford/subscriptions","organizations_url":"https://api.github.com/users/btford/orgs","repos_url":"https://api.github.com/users/btford/repos","events_url":"https://api.github.com/users/btford/events{/privacy}","received_events_url":"https://api.github.com/users/btford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/angular/router/milestones/6","html_url":"https://github.com/angular/router/milestones/post%20ng-conf","labels_url":"https://api.github.com/repos/angular/router/milestones/6/labels","id":966205,"number":6,"title":"post ng-conf","description":"These are things that don't need to be done for ng-conf. I might pull tasks from here as needed and finish them before ng-conf, but they aren't strictly necessary.","creator":{"login":"btford","id":474988,"avatar_url":"https://avatars.githubusercontent.com/u/474988?v=3","gravatar_id":"","url":"https://api.github.com/users/btford","html_url":"https://github.com/btford","followers_url":"https://api.github.com/users/btford/followers","following_url":"https://api.github.com/users/btford/following{/other_user}","gists_url":"https://api.github.com/users/btford/gists{/gist_id}","starred_url":"https://api.github.com/users/btford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btford/subscriptions","organizations_url":"https://api.github.com/users/btford/orgs","repos_url":"https://api.github.com/users/btford/repos","events_url":"https://api.github.com/users/btford/events{/privacy}","received_events_url":"https://api.github.com/users/btford/received_events","type":"User","site_admin":false},"open_issues":28,"closed_issues":1,"state":"open","created_at":"2015-02-04T21:59:05Z","updated_at":"2015-03-04T09:08:34Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2015-01-20T22:05:46Z","updated_at":"2015-03-12T20:58:16Z","closed_at":null,"body":"Right now, I'm manually doing something like this:\r\n\r\n```shell\r\ngit reset --hard HEAD\r\ngit checkout gh-pages\r\ngulp build\r\ncp -R dist/docs/* ./\r\ngit add -A *.html api/*.html content/*.html\r\ngit commit -m 'update docs'\r\ngit push upstream gh-pages\r\n```"},"comment":{"url":"https://api.github.com/repos/angular/router/issues/comments/78614241","html_url":"https://github.com/angular/router/issues/55#issuecomment-78614241","issue_url":"https://api.github.com/repos/angular/router/issues/55","id":78614241,"user":{"login":"jvandemo","id":1859381,"avatar_url":"https://avatars.githubusercontent.com/u/1859381?v=3","gravatar_id":"","url":"https://api.github.com/users/jvandemo","html_url":"https://github.com/jvandemo","followers_url":"https://api.github.com/users/jvandemo/followers","following_url":"https://api.github.com/users/jvandemo/following{/other_user}","gists_url":"https://api.github.com/users/jvandemo/gists{/gist_id}","starred_url":"https://api.github.com/users/jvandemo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvandemo/subscriptions","organizations_url":"https://api.github.com/users/jvandemo/orgs","repos_url":"https://api.github.com/users/jvandemo/repos","events_url":"https://api.github.com/users/jvandemo/events{/privacy}","received_events_url":"https://api.github.com/users/jvandemo/received_events","type":"User","site_admin":false},"created_at":"2015-03-12T20:58:16Z","updated_at":"2015-03-12T20:58:16Z","body":"@btford &mdash; Ok, I'll dig into it.\r\n\r\nA few questions to make sure I approach things correctly:\r\n\r\n1. **tagged as release**: I assume that this means all tags that look like v[0-9].[0-9].[0-9]? (We can match the tag against a regular expression so Travis CI ignores builds that do not match the tag.)\r\n2. **when tests have passed**: no problem here, we can run `npm test` and deploy new documentation if it succeeds. That sounds good?\r\n3. **repository**: do you want to deploy the documentation to the `gh-pages` branch of `angular/router` or another repository?\r\n\r\nFeel free to add items if necessary.\r\n\r\nThanks!\r\n"}}