Is there a hook or event that can be used in order to trigger something immediately after a Rails app is deployed to Heroku?

Specifically, we want to build out a certain directory structure under tmp/ (the structure is contingent on config values so it can't be checked into source).