title: Deploy script for Meteor.com hosting via Codeship
body: <p>I'm using Meteor's built-in hosting for staging, with Codeship handling the continuous deployment. All tests and notifications succeed as expected in Codeship, but nothing is getting deployed.</p>
  
  <p>My script:</p>
  
  <pre><code>expect -c "set timeout 60; spawn meteor deploy staging.myapp.com; expect “Email:” { send $METEOR_DEPLOY_EMAIL\r; expect eof } expect "Password:" { send $METEOR_DEPLOY_PASSWORD\r; expect eof }"
  </code></pre>
  
  <p>When that script runs during the build process I see the following:</p>
  
  <pre><code>spawn meteor deploy staging.myapp.com
  =&gt; Running Meteor from a checkout -- overrides project version (0.8.1)
  To instantly deploy your app on a free testing server, just enter your
  email address!
  ail:
  </code></pre>
  
  <p>The <code>ail:</code> isn't a typo...that's what Codeship displays. It appears it eventually times out and moves on, though no errors are shown.</p>
  
  <p>First time setting up a CI server (and using Expect), so thanks in advance for the help!</p>