It would be really great if ember-cli-deploy supported different deploy types, other than just deploying the index.html file.
For most apps, there are usually three things that change in the index.html file between deploys. For my app, it's
app-<hash>.js
app-<hash>.css
vendor-<hash>.js
And the rest of the index.html page always stays the same.
Use Case
We insert dynamic content into our index.html on each request. For instance, we use node-geoip to make a best guess at the user's location and insert it into the rendered index.html for Ember to read out. You can imagine other cases where one might want to modify the HTML before serving to the user (user specific api token, etc.)
With the current implementation, we have to deploy the entire index.html file with a marker (like an HTML comment) to know where to insert our dynamic content.
<head>
...
<link rel="stylesheet" href="//app-abc1234.css">
<!-- Insert server data below -->
</head>
Then we have to locate this comment, remove it and insert our data.
Feature Request
It would be great if ember-cli-deploy could be configured such that Redis could store just the hashes of the files that change between deploys. This way, we could leave the construction of the (very) simple index.html file to the server and more easily control where we insert our dynamic server data.