{"action":"opened","issue":{"url":"https://api.github.com/repos/sintaxi/surge/issues/103","labels_url":"https://api.github.com/repos/sintaxi/surge/issues/103/labels{/name}","comments_url":"https://api.github.com/repos/sintaxi/surge/issues/103/comments","events_url":"https://api.github.com/repos/sintaxi/surge/issues/103/events","html_url":"https://github.com/sintaxi/surge/issues/103","id":79979684,"number":103,"title":"Remote login and deploy","user":{"login":"callum","id":1245446,"avatar_url":"https://avatars.githubusercontent.com/u/1245446?v=3","gravatar_id":"","url":"https://api.github.com/users/callum","html_url":"https://github.com/callum","followers_url":"https://api.github.com/users/callum/followers","following_url":"https://api.github.com/users/callum/following{/other_user}","gists_url":"https://api.github.com/users/callum/gists{/gist_id}","starred_url":"https://api.github.com/users/callum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/callum/subscriptions","organizations_url":"https://api.github.com/users/callum/orgs","repos_url":"https://api.github.com/users/callum/repos","events_url":"https://api.github.com/users/callum/events{/privacy}","received_events_url":"https://api.github.com/users/callum/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-23T23:05:18Z","updated_at":"2015-05-23T23:05:18Z","closed_at":null,"body":"Would it be possible to login remotely using environment variables? I'm looking for a way to integrate surge with CI.\r\n\r\n```\r\n$ SURGE_EMAIL=login@email.com SURGE_PASSWORD=***** surge\r\n```\r\n\r\nOr even a token-based approach, where first you generate a token with `surge token`, and then:\r\n\r\n```\r\n$ SURGE_TOKEN=mytoken surge\r\n```\r\n\r\nAny of these variables could be stored securely through a CI provider."}}