title: How to run postdeploy scripts in heroku button app.json
body: <p>I tried to setup Heroku Button which my app required several post deploy scripts. Don't know how to put it in next to each.</p>
  
  <p>Here my app.json</p>
  
  <pre><code>{
    "name": "App on Heroku",
    "description": "The App deployable to Heroku.",
    "keywords": [
      "App",
      "Heroku"
    ],
    "repository": "https://github.com/myaccount/myapp",
    "logo": "http://node-js-sample.herokuapp.com/node.svg",
    "addons": [
      "heroku-postgresql",
      "postmark"
    ],
    "scripts": {
      "postdeploy": [
          "bundle exec rake db:migrate",
          "bundle exec rake db:seed",
          "bundle exec my_sample:load"
         ]
    }
  }
  </code></pre>
  
  <p>Here error message at </p>
  
  <p><strong>Run scripts &amp; scale dynos</strong></p>
  
  <p>Postdeploy exit code was not 0</p>
  
  <pre><code>bash: ((: bundle exec rake db:migrate,bundle exec rake db:seed,bundle exec my_sample:load: syntax error in expression (error token is "exec rake db:migrate,bundle exec rake db:seed,bundle exec my_sample:load")
  </code></pre>