{"action":"created","issue":{"url":"https://api.github.com/repos/silvermine/serverless-plugin-write-env-vars/issues/8","repository_url":"https://api.github.com/repos/silvermine/serverless-plugin-write-env-vars","labels_url":"https://api.github.com/repos/silvermine/serverless-plugin-write-env-vars/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/silvermine/serverless-plugin-write-env-vars/issues/8/comments","events_url":"https://api.github.com/repos/silvermine/serverless-plugin-write-env-vars/issues/8/events","html_url":"https://github.com/silvermine/serverless-plugin-write-env-vars/pull/8","id":195501467,"number":8,"title":"Fix .env handling when using \"deploy function\"","user":{"login":"patheticcockroach","id":55166,"avatar_url":"https://avatars.githubusercontent.com/u/55166?v=3","gravatar_id":"","url":"https://api.github.com/users/patheticcockroach","html_url":"https://github.com/patheticcockroach","followers_url":"https://api.github.com/users/patheticcockroach/followers","following_url":"https://api.github.com/users/patheticcockroach/following{/other_user}","gists_url":"https://api.github.com/users/patheticcockroach/gists{/gist_id}","starred_url":"https://api.github.com/users/patheticcockroach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patheticcockroach/subscriptions","organizations_url":"https://api.github.com/users/patheticcockroach/orgs","repos_url":"https://api.github.com/users/patheticcockroach/repos","events_url":"https://api.github.com/users/patheticcockroach/events{/privacy}","received_events_url":"https://api.github.com/users/patheticcockroach/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-14T11:02:24Z","updated_at":"2016-12-14T11:05:15Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/silvermine/serverless-plugin-write-env-vars/pulls/8","html_url":"https://github.com/silvermine/serverless-plugin-write-env-vars/pull/8","diff_url":"https://github.com/silvermine/serverless-plugin-write-env-vars/pull/8.diff","patch_url":"https://github.com/silvermine/serverless-plugin-write-env-vars/pull/8.patch"},"body":"I don't know when it was changed, but the proper hooks to create and delete the .env file when deploying an individual function are now `before:deploy:function:packageFunction` and `after:deploy:function:packageFunction`.\r\n\r\nI'm also including hauboldj's patch to create/remove .env file when invoking locally (PR #7 ), as I used the online editor only and didn't know how to make a PR with just my commits."},"comment":{"url":"https://api.github.com/repos/silvermine/serverless-plugin-write-env-vars/issues/comments/267006853","html_url":"https://github.com/silvermine/serverless-plugin-write-env-vars/pull/8#issuecomment-267006853","issue_url":"https://api.github.com/repos/silvermine/serverless-plugin-write-env-vars/issues/8","id":267006853,"user":{"login":"coveralls","id":2354108,"avatar_url":"https://avatars.githubusercontent.com/u/2354108?v=3","gravatar_id":"","url":"https://api.github.com/users/coveralls","html_url":"https://github.com/coveralls","followers_url":"https://api.github.com/users/coveralls/followers","following_url":"https://api.github.com/users/coveralls/following{/other_user}","gists_url":"https://api.github.com/users/coveralls/gists{/gist_id}","starred_url":"https://api.github.com/users/coveralls/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveralls/subscriptions","organizations_url":"https://api.github.com/users/coveralls/orgs","repos_url":"https://api.github.com/users/coveralls/repos","events_url":"https://api.github.com/users/coveralls/events{/privacy}","received_events_url":"https://api.github.com/users/coveralls/received_events","type":"User","site_admin":false},"created_at":"2016-12-14T11:05:15Z","updated_at":"2016-12-14T11:05:15Z","body":"\n[![Coverage Status](https://coveralls.io/builds/9274878/badge)](https://coveralls.io/builds/9274878)\n\nCoverage remained the same at 100.0% when pulling **21a775ee23889f1b2b6efad2b71dd4a44f92db59 on patheticcockroach:master** into **2046429d4742b46cff25ea37ce726271c2fcd156 on silvermine:master**.\n"}}
{"actor":{"display_login":"coveralls"}}