We use a CDN for our content. Every new push to heroku changes the
value of ASSETS_HASH to the git-revision of the latest change. Then
the system reads that value to make URLs.

I don't want to commit a file that contains ASSETS_HASH because that
becomes a chicken-egg problem (a hash that represents the ... previous
commit, umh...), I am super happy with our heroku config:add
ASSETS_HASH=... . But that restarts the server, after which I am
pushing the new code, maybe 30 seconds later.

Is it possible to combine those two? I see two options.

- git push heroku master +++config:add ASSETS_HASH=...
- heroku config:add ASSETS_HASH=... --norestart ; git push heroku
master

Ideas?

Thx
dB.

-- 
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en.

Reply via email to