{"action":"closed","issue":{"url":"https://api.github.com/repos/interactivethings/catalog/issues/63","labels_url":"https://api.github.com/repos/interactivethings/catalog/issues/63/labels{/name}","comments_url":"https://api.github.com/repos/interactivethings/catalog/issues/63/comments","events_url":"https://api.github.com/repos/interactivethings/catalog/issues/63/events","html_url":"https://github.com/interactivethings/catalog/issues/63","id":117564499,"number":63,"title":"Store builds only on gh-pages, build with Codeship","user":{"login":"herrstucki","id":70969,"avatar_url":"https://avatars.githubusercontent.com/u/70969?v=3","gravatar_id":"","url":"https://api.github.com/users/herrstucki","html_url":"https://github.com/herrstucki","followers_url":"https://api.github.com/users/herrstucki/followers","following_url":"https://api.github.com/users/herrstucki/following{/other_user}","gists_url":"https://api.github.com/users/herrstucki/gists{/gist_id}","starred_url":"https://api.github.com/users/herrstucki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/herrstucki/subscriptions","organizations_url":"https://api.github.com/users/herrstucki/orgs","repos_url":"https://api.github.com/users/herrstucki/repos","events_url":"https://api.github.com/users/herrstucki/events{/privacy}","received_events_url":"https://api.github.com/users/herrstucki/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-11-18T11:08:20Z","updated_at":"2016-01-19T14:46:47Z","closed_at":"2016-01-19T14:46:47Z","body":"As discussed with @naehrstoff:\r\n\r\nHaving all build artifacts and built documentation in the `master` branch is suboptimal. The current implementation relies on the `site/` directory which is force-pushed to `gh-pages` using `git subtree split --prefix site -b gh-pages`.\r\n\r\nIdeally …\r\n\r\n- all built files would only be committed to `gh-pages` but not to `master`.\r\n- documentation builds should also be versioned. Only having the latest docs around is a major hassle for people who can not upgrade to the latest version of the library.\r\n- the build step would be done with Codeship (or similar), so we don't have to do it manually anymore (or forget it)\r\n\r\nThese scenarios should be taken care of:\r\n\r\n- commit to `master` without new version => make a nightly build, don't replace latest documentation\r\n- commit to `master` with new version (package.json updated and git tag) => make a versioned build, and replace latest documentation\r\n\r\nI'm not sure yet if Codeship can separate these two cases."}}