{"action":"created","issue":{"url":"https://api.github.com/repos/octopress/deploy/issues/47","labels_url":"https://api.github.com/repos/octopress/deploy/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/octopress/deploy/issues/47/comments","events_url":"https://api.github.com/repos/octopress/deploy/issues/47/events","html_url":"https://github.com/octopress/deploy/issues/47","id":57747694,"number":47,"title":"Add CloudFront invalidation after upload","user":{"login":"victor","id":7311,"avatar_url":"https://avatars.githubusercontent.com/u/7311?v=3","gravatar_id":"","url":"https://api.github.com/users/victor","html_url":"https://github.com/victor","followers_url":"https://api.github.com/users/victor/followers","following_url":"https://api.github.com/users/victor/following{/other_user}","gists_url":"https://api.github.com/users/victor/gists{/gist_id}","starred_url":"https://api.github.com/users/victor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victor/subscriptions","organizations_url":"https://api.github.com/users/victor/orgs","repos_url":"https://api.github.com/users/victor/repos","events_url":"https://api.github.com/users/victor/events{/privacy}","received_events_url":"https://api.github.com/users/victor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-15T21:48:12Z","updated_at":"2015-02-15T21:51:39Z","closed_at":null,"body":"For sites that are served with S3+CloudFront (for example, any which is served via https) there's an extra step needed after upload, which is invalidating the affected resources so that they are purged from CloudFront's cache.\r\n\r\nPlease add a new step to invalidate the cache when a CloudFront distribution id is included in the deploy configuration."},"comment":{"url":"https://api.github.com/repos/octopress/deploy/issues/comments/74439142","html_url":"https://github.com/octopress/deploy/issues/47#issuecomment-74439142","issue_url":"https://api.github.com/repos/octopress/deploy/issues/47","id":74439142,"user":{"login":"imathis","id":12732,"avatar_url":"https://avatars.githubusercontent.com/u/12732?v=3","gravatar_id":"","url":"https://api.github.com/users/imathis","html_url":"https://github.com/imathis","followers_url":"https://api.github.com/users/imathis/followers","following_url":"https://api.github.com/users/imathis/following{/other_user}","gists_url":"https://api.github.com/users/imathis/gists{/gist_id}","starred_url":"https://api.github.com/users/imathis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/imathis/subscriptions","organizations_url":"https://api.github.com/users/imathis/orgs","repos_url":"https://api.github.com/users/imathis/repos","events_url":"https://api.github.com/users/imathis/events{/privacy}","received_events_url":"https://api.github.com/users/imathis/received_events","type":"User","site_admin":false},"created_at":"2015-02-15T21:51:39Z","updated_at":"2015-02-15T21:51:39Z","body":"If you can provide a pull-request, or point me to some AWS SDK docs I'll be happy to add this. I don't use CloudFront and I don't know the proper way to accomplish this."}}