{"action":"created","issue":{"url":"https://api.github.com/repos/VividCortex/docs/issues/7","labels_url":"https://api.github.com/repos/VividCortex/docs/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/VividCortex/docs/issues/7/comments","events_url":"https://api.github.com/repos/VividCortex/docs/issues/7/events","html_url":"https://github.com/VividCortex/docs/pull/7","id":108423062,"number":7,"title":"Grunt build","user":{"login":"Andertech","id":3306680,"avatar_url":"https://avatars.githubusercontent.com/u/3306680?v=3","gravatar_id":"","url":"https://api.github.com/users/Andertech","html_url":"https://github.com/Andertech","followers_url":"https://api.github.com/users/Andertech/followers","following_url":"https://api.github.com/users/Andertech/following{/other_user}","gists_url":"https://api.github.com/users/Andertech/gists{/gist_id}","starred_url":"https://api.github.com/users/Andertech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andertech/subscriptions","organizations_url":"https://api.github.com/users/Andertech/orgs","repos_url":"https://api.github.com/users/Andertech/repos","events_url":"https://api.github.com/users/Andertech/events{/privacy}","received_events_url":"https://api.github.com/users/Andertech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-09-25T23:24:55Z","updated_at":"2015-09-29T07:50:27Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/VividCortex/docs/pulls/7","html_url":"https://github.com/VividCortex/docs/pull/7","diff_url":"https://github.com/VividCortex/docs/pull/7.diff","patch_url":"https://github.com/VividCortex/docs/pull/7.patch"},"body":"This makes up for both assets managing and build/push to gh-pages. It should work ok AFAIK and tested. @mtrias can you help me reviewing this? (also I'm still missing the part when I check the branch calling the ```grunt publish``` command)."},"comment":{"url":"https://api.github.com/repos/VividCortex/docs/issues/comments/143976375","html_url":"https://github.com/VividCortex/docs/pull/7#issuecomment-143976375","issue_url":"https://api.github.com/repos/VividCortex/docs/issues/7","id":143976375,"user":{"login":"Andertech","id":3306680,"avatar_url":"https://avatars.githubusercontent.com/u/3306680?v=3","gravatar_id":"","url":"https://api.github.com/users/Andertech","html_url":"https://github.com/Andertech","followers_url":"https://api.github.com/users/Andertech/followers","following_url":"https://api.github.com/users/Andertech/following{/other_user}","gists_url":"https://api.github.com/users/Andertech/gists{/gist_id}","starred_url":"https://api.github.com/users/Andertech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andertech/subscriptions","organizations_url":"https://api.github.com/users/Andertech/orgs","repos_url":"https://api.github.com/users/Andertech/repos","events_url":"https://api.github.com/users/Andertech/events{/privacy}","received_events_url":"https://api.github.com/users/Andertech/received_events","type":"User","site_admin":false},"created_at":"2015-09-29T07:50:27Z","updated_at":"2015-09-29T07:50:27Z","body":"Ok, I added these checks for publishing: \r\n\r\n- developer should be in master to run the ```grunt publish``` task\r\n- ```grunt publish``` will check there are no uncommited changes before building\r\n- and it will also check with the remote master branch to see if either the local or the remote are out of sync.\r\n\r\nAlso fixed most of the issues you pointed out in the already closed navigation-fix PR and this one. Overall I think I would rather merge this branch now if there's nothing wrong with the grunt build, so I can focus on the smaller issues that keep me from going live. \r\n\r\nTo actually run the tasks locally without running risks to deploy or otherwise make unnecessary changes I suggest you making another branch with this one as a start and changing this on line 14 of the Gruntfile:\r\n\r\n```\r\nif (currentBranch === 'master') { // If the current branch is master move unto the next task, and display an ok message ...\r\n```\r\nto the name of the branch you are currently working on, and do the same on the gitinfo task at line 4, by adding ```/name-of-your-testing-branch``` to the end of the ```'origin-SHA': ['rev-parse', '--verify', 'origin``` . \r\n\r\nSorry this is a pain, I haven't thought of another way of testing these things out for them to actually work without the need to do these changes. \r\n\r\nI couldn't figure out why the styles are not getting rendered on vividcortex.github.io/docs any ideas @nachocaru ?"}}