{"action":"created","issue":{"url":"https://api.github.com/repos/mysociety/kuvakazim/issues/15","labels_url":"https://api.github.com/repos/mysociety/kuvakazim/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/mysociety/kuvakazim/issues/15/comments","events_url":"https://api.github.com/repos/mysociety/kuvakazim/issues/15/events","html_url":"https://github.com/mysociety/kuvakazim/issues/15","id":118874107,"number":15,"title":"Move build to Travis","user":{"login":"chrismytton","id":22996,"avatar_url":"https://avatars.githubusercontent.com/u/22996?v=3","gravatar_id":"","url":"https://api.github.com/users/chrismytton","html_url":"https://github.com/chrismytton","followers_url":"https://api.github.com/users/chrismytton/followers","following_url":"https://api.github.com/users/chrismytton/following{/other_user}","gists_url":"https://api.github.com/users/chrismytton/gists{/gist_id}","starred_url":"https://api.github.com/users/chrismytton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrismytton/subscriptions","organizations_url":"https://api.github.com/users/chrismytton/orgs","repos_url":"https://api.github.com/users/chrismytton/repos","events_url":"https://api.github.com/users/chrismytton/events{/privacy}","received_events_url":"https://api.github.com/users/chrismytton/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-25T16:31:08Z","updated_at":"2015-11-25T17:09:42Z","closed_at":null,"body":"We want to be able to use plugins with jekyll for generating data, but GitHub pages doesn't work with plugins. It would also be good to use Jekyll 3 as it builds complex sites _much_ faster (as an example this site builds in 82s with Jekyll 2.4.0, 6s with Jekyll 3.0.1).\r\n\r\nSo as part of this I'd like to move the actual building of the site to Travis. I've chosen travis over Heroku for this as arguably the static files are just a build artifact. Having it on Travis also means that the webhook receiver on Heroku simply needs to create a new commit updating the popolo url that we want to use, which it can get from the `countries.json` payload, then Travis will handle the rest.\r\n\r\n- [ ] Move over to using the `master` branch for jekyll files\r\n- [ ] Add travis build for the project that runs for the `master` branch and builds it to the `gh-pages` branch\r\n- [ ] Add a README to `gh-pages` warning that it's an automatically generated branch\r\n- [ ] Add a README to the `master` branch which explains how this all works"},"comment":{"url":"https://api.github.com/repos/mysociety/kuvakazim/issues/comments/159675480","html_url":"https://github.com/mysociety/kuvakazim/issues/15#issuecomment-159675480","issue_url":"https://api.github.com/repos/mysociety/kuvakazim/issues/15","id":159675480,"user":{"login":"dracos","id":154364,"avatar_url":"https://avatars.githubusercontent.com/u/154364?v=3","gravatar_id":"","url":"https://api.github.com/users/dracos","html_url":"https://github.com/dracos","followers_url":"https://api.github.com/users/dracos/followers","following_url":"https://api.github.com/users/dracos/following{/other_user}","gists_url":"https://api.github.com/users/dracos/gists{/gist_id}","starred_url":"https://api.github.com/users/dracos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dracos/subscriptions","organizations_url":"https://api.github.com/users/dracos/orgs","repos_url":"https://api.github.com/users/dracos/repos","events_url":"https://api.github.com/users/dracos/events{/privacy}","received_events_url":"https://api.github.com/users/dracos/received_events","type":"User","site_admin":false},"created_at":"2015-11-25T17:09:42Z","updated_at":"2015-11-25T17:09:42Z","body":"https://github.com/mysociety/theyworkforyou/commit/5267f8a3165ef81edd6a2b142fe9ad6f8e51e905 might be useful too :)"}}