{"action":"created","comment":{"url":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/comments/43716215","id":43716215,"diff_hunk":"@@ -0,0 +1,21 @@\n+\n+PROJECT_ROOT=\"%(git rev-parse --show-toplevel)\"\n+CURRENT_BRANCH=\"%(git rev-parse --abbrev-ref HEAD)\"\n+\n+cd %PROJECT_ROOT\n+\n+git stash\n+\n+git checkout gh-pages\n+git checkout %CURRENT_BRANCH -- dist/*\n+git checkout %CURRENT_BRANCH -- public/*\n+\n+git add dist/*\n+git add public/*\n+\n+git commit -m \"deployed from %CURRENT_BRANCH\"\n+git push --force origin gh-pages","path":"npm_tasks/gh-pages-win.bat","position":17,"original_position":17,"commit_id":"9348a9e85c1de64472f9da0ba4c15db99ae6a7ca","original_commit_id":"9348a9e85c1de64472f9da0ba4c15db99ae6a7ca","user":{"login":"qingweibinary","id":14971922,"avatar_url":"https://avatars.githubusercontent.com/u/14971922?v=3","gravatar_id":"","url":"https://api.github.com/users/qingweibinary","html_url":"https://github.com/qingweibinary","followers_url":"https://api.github.com/users/qingweibinary/followers","following_url":"https://api.github.com/users/qingweibinary/following{/other_user}","gists_url":"https://api.github.com/users/qingweibinary/gists{/gist_id}","starred_url":"https://api.github.com/users/qingweibinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingweibinary/subscriptions","organizations_url":"https://api.github.com/users/qingweibinary/orgs","repos_url":"https://api.github.com/users/qingweibinary/repos","events_url":"https://api.github.com/users/qingweibinary/events{/privacy}","received_events_url":"https://api.github.com/users/qingweibinary/received_events","type":"User","site_admin":false},"body":"Here is using force push, which might not be appropriate, I am still looking for answer, kindly comment ~","created_at":"2015-11-03T04:57:45Z","updated_at":"2015-11-03T04:57:45Z","html_url":"https://github.com/binary-com/binary-next-gen/pull/1#discussion_r43716215","pull_request_url":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/comments/43716215"},"html":{"href":"https://github.com/binary-com/binary-next-gen/pull/1#discussion_r43716215"},"pull_request":{"href":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/1","id":49516749,"html_url":"https://github.com/binary-com/binary-next-gen/pull/1","diff_url":"https://github.com/binary-com/binary-next-gen/pull/1.diff","patch_url":"https://github.com/binary-com/binary-next-gen/pull/1.patch","issue_url":"https://api.github.com/repos/binary-com/binary-next-gen/issues/1","number":1,"state":"open","locked":false,"title":"Qingwei/desktop deploy","user":{"login":"qingweibinary","id":14971922,"avatar_url":"https://avatars.githubusercontent.com/u/14971922?v=3","gravatar_id":"","url":"https://api.github.com/users/qingweibinary","html_url":"https://github.com/qingweibinary","followers_url":"https://api.github.com/users/qingweibinary/followers","following_url":"https://api.github.com/users/qingweibinary/following{/other_user}","gists_url":"https://api.github.com/users/qingweibinary/gists{/gist_id}","starred_url":"https://api.github.com/users/qingweibinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingweibinary/subscriptions","organizations_url":"https://api.github.com/users/qingweibinary/orgs","repos_url":"https://api.github.com/users/qingweibinary/repos","events_url":"https://api.github.com/users/qingweibinary/events{/privacy}","received_events_url":"https://api.github.com/users/qingweibinary/received_events","type":"User","site_admin":false},"body":"I create two deploy task, one for bash terminal, one for windows cmd, the latter is not tested\r\n\r\nThe first one works, but we can improve it's output","created_at":"2015-11-03T03:41:37Z","updated_at":"2015-11-03T04:57:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f2464fcfd462a27b4f97f21cb4f00c2c9159e569","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/1/commits","review_comments_url":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/1/comments","review_comment_url":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/comments{/number}","comments_url":"https://api.github.com/repos/binary-com/binary-next-gen/issues/1/comments","statuses_url":"https://api.github.com/repos/binary-com/binary-next-gen/statuses/9348a9e85c1de64472f9da0ba4c15db99ae6a7ca","head":{"label":"qingweibinary:qingwei/desktop_deploy","ref":"qingwei/desktop_deploy","sha":"9348a9e85c1de64472f9da0ba4c15db99ae6a7ca","user":{"login":"qingweibinary","id":14971922,"avatar_url":"https://avatars.githubusercontent.com/u/14971922?v=3","gravatar_id":"","url":"https://api.github.com/users/qingweibinary","html_url":"https://github.com/qingweibinary","followers_url":"https://api.github.com/users/qingweibinary/followers","following_url":"https://api.github.com/users/qingweibinary/following{/other_user}","gists_url":"https://api.github.com/users/qingweibinary/gists{/gist_id}","starred_url":"https://api.github.com/users/qingweibinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingweibinary/subscriptions","organizations_url":"https://api.github.com/users/qingweibinary/orgs","repos_url":"https://api.github.com/users/qingweibinary/repos","events_url":"https://api.github.com/users/qingweibinary/events{/privacy}","received_events_url":"https://api.github.com/users/qingweibinary/received_events","type":"User","site_admin":false},"repo":{"id":45229598,"name":"binary-next-gen","full_name":"qingweibinary/binary-next-gen","owner":{"login":"qingweibinary","id":14971922,"avatar_url":"https://avatars.githubusercontent.com/u/14971922?v=3","gravatar_id":"","url":"https://api.github.com/users/qingweibinary","html_url":"https://github.com/qingweibinary","followers_url":"https://api.github.com/users/qingweibinary/followers","following_url":"https://api.github.com/users/qingweibinary/following{/other_user}","gists_url":"https://api.github.com/users/qingweibinary/gists{/gist_id}","starred_url":"https://api.github.com/users/qingweibinary/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qingweibinary/subscriptions","organizations_url":"https://api.github.com/users/qingweibinary/orgs","repos_url":"https://api.github.com/users/qingweibinary/repos","events_url":"https://api.github.com/users/qingweibinary/events{/privacy}","received_events_url":"https://api.github.com/users/qingweibinary/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/qingweibinary/binary-next-gen","description":"Next-Gen App for Binary.com","fork":true,"url":"https://api.github.com/repos/qingweibinary/binary-next-gen","forks_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/forks","keys_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/teams","hooks_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/hooks","issue_events_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/issues/events{/number}","events_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/events","assignees_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/assignees{/user}","branches_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/branches{/branch}","tags_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/tags","blobs_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/git/refs{/sha}","trees_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/statuses/{sha}","languages_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/languages","stargazers_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/stargazers","contributors_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/contributors","subscribers_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/subscribers","subscription_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/subscription","commits_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/commits{/sha}","git_commits_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/git/commits{/sha}","comments_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/comments{/number}","issue_comment_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/issues/comments{/number}","contents_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/contents/{+path}","compare_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/merges","archive_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/downloads","issues_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/issues{/number}","pulls_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/pulls{/number}","milestones_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/milestones{/number}","notifications_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/labels{/name}","releases_url":"https://api.github.com/repos/qingweibinary/binary-next-gen/releases{/id}","created_at":"2015-10-30T04:44:03Z","updated_at":"2015-10-30T04:44:05Z","pushed_at":"2015-11-03T03:39:32Z","git_url":"git://github.com/qingweibinary/binary-next-gen.git","ssh_url":"git@github.com:qingweibinary/binary-next-gen.git","clone_url":"https://github.com/qingweibinary/binary-next-gen.git","svn_url":"https://github.com/qingweibinary/binary-next-gen","homepage":"","size":7304,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"binary-com:master","ref":"master","sha":"8565973729964a240385936cb4a954526d517093","user":{"login":"binary-com","id":7437559,"avatar_url":"https://avatars.githubusercontent.com/u/7437559?v=3","gravatar_id":"","url":"https://api.github.com/users/binary-com","html_url":"https://github.com/binary-com","followers_url":"https://api.github.com/users/binary-com/followers","following_url":"https://api.github.com/users/binary-com/following{/other_user}","gists_url":"https://api.github.com/users/binary-com/gists{/gist_id}","starred_url":"https://api.github.com/users/binary-com/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binary-com/subscriptions","organizations_url":"https://api.github.com/users/binary-com/orgs","repos_url":"https://api.github.com/users/binary-com/repos","events_url":"https://api.github.com/users/binary-com/events{/privacy}","received_events_url":"https://api.github.com/users/binary-com/received_events","type":"Organization","site_admin":false},"repo":{"id":36497200,"name":"binary-next-gen","full_name":"binary-com/binary-next-gen","owner":{"login":"binary-com","id":7437559,"avatar_url":"https://avatars.githubusercontent.com/u/7437559?v=3","gravatar_id":"","url":"https://api.github.com/users/binary-com","html_url":"https://github.com/binary-com","followers_url":"https://api.github.com/users/binary-com/followers","following_url":"https://api.github.com/users/binary-com/following{/other_user}","gists_url":"https://api.github.com/users/binary-com/gists{/gist_id}","starred_url":"https://api.github.com/users/binary-com/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binary-com/subscriptions","organizations_url":"https://api.github.com/users/binary-com/orgs","repos_url":"https://api.github.com/users/binary-com/repos","events_url":"https://api.github.com/users/binary-com/events{/privacy}","received_events_url":"https://api.github.com/users/binary-com/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/binary-com/binary-next-gen","description":"Next-Gen App for Binary.com","fork":false,"url":"https://api.github.com/repos/binary-com/binary-next-gen","forks_url":"https://api.github.com/repos/binary-com/binary-next-gen/forks","keys_url":"https://api.github.com/repos/binary-com/binary-next-gen/keys{/key_id}","collaborators_url":"https://api.github.com/repos/binary-com/binary-next-gen/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/binary-com/binary-next-gen/teams","hooks_url":"https://api.github.com/repos/binary-com/binary-next-gen/hooks","issue_events_url":"https://api.github.com/repos/binary-com/binary-next-gen/issues/events{/number}","events_url":"https://api.github.com/repos/binary-com/binary-next-gen/events","assignees_url":"https://api.github.com/repos/binary-com/binary-next-gen/assignees{/user}","branches_url":"https://api.github.com/repos/binary-com/binary-next-gen/branches{/branch}","tags_url":"https://api.github.com/repos/binary-com/binary-next-gen/tags","blobs_url":"https://api.github.com/repos/binary-com/binary-next-gen/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/binary-com/binary-next-gen/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/binary-com/binary-next-gen/git/refs{/sha}","trees_url":"https://api.github.com/repos/binary-com/binary-next-gen/git/trees{/sha}","statuses_url":"https://api.github.com/repos/binary-com/binary-next-gen/statuses/{sha}","languages_url":"https://api.github.com/repos/binary-com/binary-next-gen/languages","stargazers_url":"https://api.github.com/repos/binary-com/binary-next-gen/stargazers","contributors_url":"https://api.github.com/repos/binary-com/binary-next-gen/contributors","subscribers_url":"https://api.github.com/repos/binary-com/binary-next-gen/subscribers","subscription_url":"https://api.github.com/repos/binary-com/binary-next-gen/subscription","commits_url":"https://api.github.com/repos/binary-com/binary-next-gen/commits{/sha}","git_commits_url":"https://api.github.com/repos/binary-com/binary-next-gen/git/commits{/sha}","comments_url":"https://api.github.com/repos/binary-com/binary-next-gen/comments{/number}","issue_comment_url":"https://api.github.com/repos/binary-com/binary-next-gen/issues/comments{/number}","contents_url":"https://api.github.com/repos/binary-com/binary-next-gen/contents/{+path}","compare_url":"https://api.github.com/repos/binary-com/binary-next-gen/compare/{base}...{head}","merges_url":"https://api.github.com/repos/binary-com/binary-next-gen/merges","archive_url":"https://api.github.com/repos/binary-com/binary-next-gen/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/binary-com/binary-next-gen/downloads","issues_url":"https://api.github.com/repos/binary-com/binary-next-gen/issues{/number}","pulls_url":"https://api.github.com/repos/binary-com/binary-next-gen/pulls{/number}","milestones_url":"https://api.github.com/repos/binary-com/binary-next-gen/milestones{/number}","notifications_url":"https://api.github.com/repos/binary-com/binary-next-gen/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/binary-com/binary-next-gen/labels{/name}","releases_url":"https://api.github.com/repos/binary-com/binary-next-gen/releases{/id}","created_at":"2015-05-29T10:22:14Z","updated_at":"2015-10-27T06:46:47Z","pushed_at":"2015-11-03T03:41:37Z","git_url":"git://github.com/binary-com/binary-next-gen.git","ssh_url":"git@github.com:binary-com/binary-next-gen.git","clone_url":"https://github.com/binary-com/binary-next-gen.git","svn_url":"https://github.com/binary-com/binary-next-gen","homepage":"","size":7304,"stargazers_count":1,"watchers_count":1,"language":"CSS","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/1"},"html":{"href":"https://github.com/binary-com/binary-next-gen/pull/1"},"issue":{"href":"https://api.github.com/repos/binary-com/binary-next-gen/issues/1"},"comments":{"href":"https://api.github.com/repos/binary-com/binary-next-gen/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/binary-com/binary-next-gen/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/binary-com/binary-next-gen/statuses/9348a9e85c1de64472f9da0ba4c15db99ae6a7ca"}}}}