{"action":"opened","number":534,"pull_request":{"url":"https://api.github.com/repos/OfficeDev/script-lab/pulls/534","id":132677189,"html_url":"https://github.com/OfficeDev/script-lab/pull/534","diff_url":"https://github.com/OfficeDev/script-lab/pull/534.diff","patch_url":"https://github.com/OfficeDev/script-lab/pull/534.patch","issue_url":"https://api.github.com/repos/OfficeDev/script-lab/issues/534","number":534,"state":"open","locked":false,"title":"Fix deploy script to copy latest bundle resources from production instead of prior build","user":{"login":"dsaunders45459","id":6694935,"avatar_url":"https://avatars3.githubusercontent.com/u/6694935?v=4","gravatar_id":"","url":"https://api.github.com/users/dsaunders45459","html_url":"https://github.com/dsaunders45459","followers_url":"https://api.github.com/users/dsaunders45459/followers","following_url":"https://api.github.com/users/dsaunders45459/following{/other_user}","gists_url":"https://api.github.com/users/dsaunders45459/gists{/gist_id}","starred_url":"https://api.github.com/users/dsaunders45459/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dsaunders45459/subscriptions","organizations_url":"https://api.github.com/users/dsaunders45459/orgs","repos_url":"https://api.github.com/users/dsaunders45459/repos","events_url":"https://api.github.com/users/dsaunders45459/events{/privacy}","received_events_url":"https://api.github.com/users/dsaunders45459/received_events","type":"User","site_admin":false},"body":"<!--- Provide a general summary of your changes in the Title above -->\r\nFor production deployment the changes are first committed to a staging environment. After successful deployment to staging, it then will get swapped with production. The problem is that we will loose the resources currently deployed to production for one deployment since we clone current_build from the prior deployment. We will still use the staging environment, but copy current_build bundle resources from the files deployed to production.\r\n\r\n## Description\r\n<!--- Describe your changes in detail -->\r\n\r\n## Related Issue\r\n<!--- This project only accepts pull requests related to open issues -->\r\n<!--- If suggesting a new feature or change, please discuss it in an issue first -->\r\n<!--- If fixing a bug, there should be an issue describing it with steps to reproduce -->\r\n<!--- Please link to the issue here: -->\r\n\r\n## Motivation and Context\r\n<!--- Why is this change required? What problem does it solve? -->\r\n\r\n## How Has This Been Tested?\r\n<!--- Please describe in detail how you tested your changes. -->\r\n<!--- Include details of your testing environment, and the tests you ran to -->\r\n<!--- see how your change affects other areas of the code, etc. -->\r\n\r\n## Screenshots (if appropriate):\r\n\r\n## Types of changes\r\n<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->\r\n- [ ] Bug fix (non-breaking change which fixes an issue)\r\n- [ ] New feature (non-breaking change which adds functionality)\r\n- [ ] Breaking change (fix or feature that would cause existing functionality to change)\r\n\r\n## Checklist:\r\n<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->\r\n<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->\r\n- [ ] My code follows the code style of this project.\r\n- [ ] My change requires a change to the documentation.\r\n- [ ] I have updated the documentation accordingly.\r\n- [ ] I have read the **CONTRIBUTING** document.\r\n- [ ] I have added tests to cover my changes.\r\n- [ ] All new and existing tests passed.\r\n","created_at":"2017-07-27T06:53:02Z","updated_at":"2017-07-27T06:53:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[{"login":"cshashwat","id":14340560,"avatar_url":"https://avatars0.githubusercontent.com/u/14340560?v=4","gravatar_id":"","url":"https://api.github.com/users/cshashwat","html_url":"https://github.com/cshashwat","followers_url":"https://api.github.com/users/cshashwat/followers","following_url":"https://api.github.com/users/cshashwat/following{/other_user}","gists_url":"https://api.github.com/users/cshashwat/gists{/gist_id}","starred_url":"https://api.github.com/users/cshashwat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cshashwat/subscriptions","organizations_url":"https://api.github.com/users/cshashwat/orgs","repos_url":"https://api.github.com/users/cshashwat/repos","events_url":"https://api.github.com/users/cshashwat/events{/privacy}","received_events_url":"https://api.github.com/users/cshashwat/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/OfficeDev/script-lab/pulls/534/commits","review_comments_url":"https://api.github.com/repos/OfficeDev/script-lab/pulls/534/comments","review_comment_url":"https://api.github.com/repos/OfficeDev/script-lab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OfficeDev/script-lab/issues/534/comments","statuses_url":"https://api.github.com/repos/OfficeDev/script-lab/statuses/2334542c7064a2c590e2ee7496fd80a83aee9c01","head":{"label":"OfficeDev:deploy-script","ref":"deploy-script","sha":"2334542c7064a2c590e2ee7496fd80a83aee9c01","user":{"login":"OfficeDev","id":6789362,"avatar_url":"https://avatars2.githubusercontent.com/u/6789362?v=4","gravatar_id":"","url":"https://api.github.com/users/OfficeDev","html_url":"https://github.com/OfficeDev","followers_url":"https://api.github.com/users/OfficeDev/followers","following_url":"https://api.github.com/users/OfficeDev/following{/other_user}","gists_url":"https://api.github.com/users/OfficeDev/gists{/gist_id}","starred_url":"https://api.github.com/users/OfficeDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OfficeDev/subscriptions","organizations_url":"https://api.github.com/users/OfficeDev/orgs","repos_url":"https://api.github.com/users/OfficeDev/repos","events_url":"https://api.github.com/users/OfficeDev/events{/privacy}","received_events_url":"https://api.github.com/users/OfficeDev/received_events","type":"Organization","site_admin":false},"repo":{"id":75435497,"name":"script-lab","full_name":"OfficeDev/script-lab","owner":{"login":"OfficeDev","id":6789362,"avatar_url":"https://avatars2.githubusercontent.com/u/6789362?v=4","gravatar_id":"","url":"https://api.github.com/users/OfficeDev","html_url":"https://github.com/OfficeDev","followers_url":"https://api.github.com/users/OfficeDev/followers","following_url":"https://api.github.com/users/OfficeDev/following{/other_user}","gists_url":"https://api.github.com/users/OfficeDev/gists{/gist_id}","starred_url":"https://api.github.com/users/OfficeDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OfficeDev/subscriptions","organizations_url":"https://api.github.com/users/OfficeDev/orgs","repos_url":"https://api.github.com/users/OfficeDev/repos","events_url":"https://api.github.com/users/OfficeDev/events{/privacy}","received_events_url":"https://api.github.com/users/OfficeDev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OfficeDev/script-lab","description":"Create, run and share your code directly from Office","fork":false,"url":"https://api.github.com/repos/OfficeDev/script-lab","forks_url":"https://api.github.com/repos/OfficeDev/script-lab/forks","keys_url":"https://api.github.com/repos/OfficeDev/script-lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OfficeDev/script-lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OfficeDev/script-lab/teams","hooks_url":"https://api.github.com/repos/OfficeDev/script-lab/hooks","issue_events_url":"https://api.github.com/repos/OfficeDev/script-lab/issues/events{/number}","events_url":"https://api.github.com/repos/OfficeDev/script-lab/events","assignees_url":"https://api.github.com/repos/OfficeDev/script-lab/assignees{/user}","branches_url":"https://api.github.com/repos/OfficeDev/script-lab/branches{/branch}","tags_url":"https://api.github.com/repos/OfficeDev/script-lab/tags","blobs_url":"https://api.github.com/repos/OfficeDev/script-lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OfficeDev/script-lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OfficeDev/script-lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/OfficeDev/script-lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OfficeDev/script-lab/statuses/{sha}","languages_url":"https://api.github.com/repos/OfficeDev/script-lab/languages","stargazers_url":"https://api.github.com/repos/OfficeDev/script-lab/stargazers","contributors_url":"https://api.github.com/repos/OfficeDev/script-lab/contributors","subscribers_url":"https://api.github.com/repos/OfficeDev/script-lab/subscribers","subscription_url":"https://api.github.com/repos/OfficeDev/script-lab/subscription","commits_url":"https://api.github.com/repos/OfficeDev/script-lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/OfficeDev/script-lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/OfficeDev/script-lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/OfficeDev/script-lab/issues/comments{/number}","contents_url":"https://api.github.com/repos/OfficeDev/script-lab/contents/{+path}","compare_url":"https://api.github.com/repos/OfficeDev/script-lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OfficeDev/script-lab/merges","archive_url":"https://api.github.com/repos/OfficeDev/script-lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OfficeDev/script-lab/downloads","issues_url":"https://api.github.com/repos/OfficeDev/script-lab/issues{/number}","pulls_url":"https://api.github.com/repos/OfficeDev/script-lab/pulls{/number}","milestones_url":"https://api.github.com/repos/OfficeDev/script-lab/milestones{/number}","notifications_url":"https://api.github.com/repos/OfficeDev/script-lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OfficeDev/script-lab/labels{/name}","releases_url":"https://api.github.com/repos/OfficeDev/script-lab/releases{/id}","deployments_url":"https://api.github.com/repos/OfficeDev/script-lab/deployments","created_at":"2016-12-02T22:22:06Z","updated_at":"2017-07-19T02:49:43Z","pushed_at":"2017-07-27T06:47:55Z","git_url":"git://github.com/OfficeDev/script-lab.git","ssh_url":"git@github.com:OfficeDev/script-lab.git","clone_url":"https://github.com/OfficeDev/script-lab.git","svn_url":"https://github.com/OfficeDev/script-lab","homepage":"https://script-lab.azureedge.net/","size":39106,"stargazers_count":52,"watchers_count":52,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":196,"forks":22,"open_issues":196,"watchers":52,"default_branch":"master"}},"base":{"label":"OfficeDev:master","ref":"master","sha":"3d09a550c822c3fdd854c49a3bd29faa632baf1c","user":{"login":"OfficeDev","id":6789362,"avatar_url":"https://avatars2.githubusercontent.com/u/6789362?v=4","gravatar_id":"","url":"https://api.github.com/users/OfficeDev","html_url":"https://github.com/OfficeDev","followers_url":"https://api.github.com/users/OfficeDev/followers","following_url":"https://api.github.com/users/OfficeDev/following{/other_user}","gists_url":"https://api.github.com/users/OfficeDev/gists{/gist_id}","starred_url":"https://api.github.com/users/OfficeDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OfficeDev/subscriptions","organizations_url":"https://api.github.com/users/OfficeDev/orgs","repos_url":"https://api.github.com/users/OfficeDev/repos","events_url":"https://api.github.com/users/OfficeDev/events{/privacy}","received_events_url":"https://api.github.com/users/OfficeDev/received_events","type":"Organization","site_admin":false},"repo":{"id":75435497,"name":"script-lab","full_name":"OfficeDev/script-lab","owner":{"login":"OfficeDev","id":6789362,"avatar_url":"https://avatars2.githubusercontent.com/u/6789362?v=4","gravatar_id":"","url":"https://api.github.com/users/OfficeDev","html_url":"https://github.com/OfficeDev","followers_url":"https://api.github.com/users/OfficeDev/followers","following_url":"https://api.github.com/users/OfficeDev/following{/other_user}","gists_url":"https://api.github.com/users/OfficeDev/gists{/gist_id}","starred_url":"https://api.github.com/users/OfficeDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OfficeDev/subscriptions","organizations_url":"https://api.github.com/users/OfficeDev/orgs","repos_url":"https://api.github.com/users/OfficeDev/repos","events_url":"https://api.github.com/users/OfficeDev/events{/privacy}","received_events_url":"https://api.github.com/users/OfficeDev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OfficeDev/script-lab","description":"Create, run and share your code directly from Office","fork":false,"url":"https://api.github.com/repos/OfficeDev/script-lab","forks_url":"https://api.github.com/repos/OfficeDev/script-lab/forks","keys_url":"https://api.github.com/repos/OfficeDev/script-lab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OfficeDev/script-lab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OfficeDev/script-lab/teams","hooks_url":"https://api.github.com/repos/OfficeDev/script-lab/hooks","issue_events_url":"https://api.github.com/repos/OfficeDev/script-lab/issues/events{/number}","events_url":"https://api.github.com/repos/OfficeDev/script-lab/events","assignees_url":"https://api.github.com/repos/OfficeDev/script-lab/assignees{/user}","branches_url":"https://api.github.com/repos/OfficeDev/script-lab/branches{/branch}","tags_url":"https://api.github.com/repos/OfficeDev/script-lab/tags","blobs_url":"https://api.github.com/repos/OfficeDev/script-lab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OfficeDev/script-lab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OfficeDev/script-lab/git/refs{/sha}","trees_url":"https://api.github.com/repos/OfficeDev/script-lab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OfficeDev/script-lab/statuses/{sha}","languages_url":"https://api.github.com/repos/OfficeDev/script-lab/languages","stargazers_url":"https://api.github.com/repos/OfficeDev/script-lab/stargazers","contributors_url":"https://api.github.com/repos/OfficeDev/script-lab/contributors","subscribers_url":"https://api.github.com/repos/OfficeDev/script-lab/subscribers","subscription_url":"https://api.github.com/repos/OfficeDev/script-lab/subscription","commits_url":"https://api.github.com/repos/OfficeDev/script-lab/commits{/sha}","git_commits_url":"https://api.github.com/repos/OfficeDev/script-lab/git/commits{/sha}","comments_url":"https://api.github.com/repos/OfficeDev/script-lab/comments{/number}","issue_comment_url":"https://api.github.com/repos/OfficeDev/script-lab/issues/comments{/number}","contents_url":"https://api.github.com/repos/OfficeDev/script-lab/contents/{+path}","compare_url":"https://api.github.com/repos/OfficeDev/script-lab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OfficeDev/script-lab/merges","archive_url":"https://api.github.com/repos/OfficeDev/script-lab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OfficeDev/script-lab/downloads","issues_url":"https://api.github.com/repos/OfficeDev/script-lab/issues{/number}","pulls_url":"https://api.github.com/repos/OfficeDev/script-lab/pulls{/number}","milestones_url":"https://api.github.com/repos/OfficeDev/script-lab/milestones{/number}","notifications_url":"https://api.github.com/repos/OfficeDev/script-lab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OfficeDev/script-lab/labels{/name}","releases_url":"https://api.github.com/repos/OfficeDev/script-lab/releases{/id}","deployments_url":"https://api.github.com/repos/OfficeDev/script-lab/deployments","created_at":"2016-12-02T22:22:06Z","updated_at":"2017-07-19T02:49:43Z","pushed_at":"2017-07-27T06:47:55Z","git_url":"git://github.com/OfficeDev/script-lab.git","ssh_url":"git@github.com:OfficeDev/script-lab.git","clone_url":"https://github.com/OfficeDev/script-lab.git","svn_url":"https://github.com/OfficeDev/script-lab","homepage":"https://script-lab.azureedge.net/","size":39106,"stargazers_count":52,"watchers_count":52,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":22,"mirror_url":null,"open_issues_count":196,"forks":22,"open_issues":196,"watchers":52,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/OfficeDev/script-lab/pulls/534"},"html":{"href":"https://github.com/OfficeDev/script-lab/pull/534"},"issue":{"href":"https://api.github.com/repos/OfficeDev/script-lab/issues/534"},"comments":{"href":"https://api.github.com/repos/OfficeDev/script-lab/issues/534/comments"},"review_comments":{"href":"https://api.github.com/repos/OfficeDev/script-lab/pulls/534/comments"},"review_comment":{"href":"https://api.github.com/repos/OfficeDev/script-lab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OfficeDev/script-lab/pulls/534/commits"},"statuses":{"href":"https://api.github.com/repos/OfficeDev/script-lab/statuses/2334542c7064a2c590e2ee7496fd80a83aee9c01"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":19,"deletions":5,"changed_files":1}}
{"actor":{"display_login":"dsaunders45459"}}