Permalink
Browse files

Deploy with anvil

  • Loading branch information...
sarahhodne committed Dec 10, 2012
1 parent 99a39fc commit bf96b1152ac2421aedacc4f78934d9ee4796d721
Showing with 4 additions and 19 deletions.
  1. +1 −0 .gitignore
  2. +3 −19 script/deploy
View
@@ -1,2 +1,3 @@
.sass-cache
log
+.anvil
View
@@ -24,23 +24,7 @@ if [[ "$TRAVIS" == "true" ]]; then
exit 1
fi
- git remote add heroku git@heroku.com:travis-lite-staging.git
-
- echo "Host heroku.com" >> ~/.ssh/config
- echo " StrictHostKeyChecking no" >> ~/.ssh/config
- echo " CheckHostIP no" >> ~/.ssh/config
- echo " UserKnownHostsFile=/dev/null" >> ~/.ssh/config
-
- branch="$(git symbolic-ref HEAD 2>/dev/null)"
- branch="${branch#refs/heads/}"
-
- mkdir -p ~/.ssh
- ssh-keygen -t rsa -N "" -f ~/.ssh/id_rsa -C "travis-deployment"
-
- yes | heroku keys:add
- yes | git push heroku $branch
- yes | heroku keys:remove "travis-deployment"
-else
- echo "This script was only designed to be run on Travis. Running it locally"
- echo "will most probably break something."
+ heroku plugins:install https://github.com/ddollar/heroku-anvil
fi
+
+heroku build -r travis-lite -b https://github.com/heroku/heroku-buildpack-ruby.git

0 comments on commit bf96b11

Please sign in to comment.