{"action":"closed","issue":{"url":"https://api.github.com/repos/VerdigrisTech/ember-cli-deploy-ghpages/issues/2","repository_url":"https://api.github.com/repos/VerdigrisTech/ember-cli-deploy-ghpages","labels_url":"https://api.github.com/repos/VerdigrisTech/ember-cli-deploy-ghpages/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/VerdigrisTech/ember-cli-deploy-ghpages/issues/2/comments","events_url":"https://api.github.com/repos/VerdigrisTech/ember-cli-deploy-ghpages/issues/2/events","html_url":"https://github.com/VerdigrisTech/ember-cli-deploy-ghpages/issues/2","id":161040622,"number":2,"title":"How to conditionally override ENV.locationType when deploying to ghpages?","user":{"login":"mattmazzola","id":2856501,"avatar_url":"https://avatars.githubusercontent.com/u/2856501?v=3","gravatar_id":"","url":"https://api.github.com/users/mattmazzola","html_url":"https://github.com/mattmazzola","followers_url":"https://api.github.com/users/mattmazzola/followers","following_url":"https://api.github.com/users/mattmazzola/following{/other_user}","gists_url":"https://api.github.com/users/mattmazzola/gists{/gist_id}","starred_url":"https://api.github.com/users/mattmazzola/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattmazzola/subscriptions","organizations_url":"https://api.github.com/users/mattmazzola/orgs","repos_url":"https://api.github.com/users/mattmazzola/repos","events_url":"https://api.github.com/users/mattmazzola/events{/privacy}","received_events_url":"https://api.github.com/users/mattmazzola/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/VerdigrisTech/ember-cli-deploy-ghpages/labels/answered","name":"answered","color":"f9d0c4"},{"url":"https://api.github.com/repos/VerdigrisTech/ember-cli-deploy-ghpages/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-18T19:51:59Z","updated_at":"2016-08-03T20:21:58Z","closed_at":"2016-08-03T20:21:58Z","body":"First of all, I've been looking for a way to easily deploy to ghpages for months, so glad you made this :+1:  :smile: \r\n\r\nThis is more of a question than an issue, but I'm new to ember-cli-build and I was looking for a way to conditionally set the `locationType: 'hash'`.  The goal is to have locationType remain set to `auto` for normal local serving with `ember s` but when I use `ember deploy` I was hoping I could force ENV.locationType to be hash in the deploy.js like this:\r\n\r\n```\r\nmodule.exports = function(deployTarget) {\r\n  var ENV = {\r\n    locationType: 'hash',\r\n    build: {},\r\n...\r\n```\r\n\r\nBut it didn't work.  Any suggestions if this is possible?\r\n\r\n"}}
{"actor":{"display_login":"AndrewJo"}}