From f661ec555be0d0e638d45c01a0159b32a5183ed1 Mon Sep 17 00:00:00 2001 From: Jason Berlinsky Date: Tue, 5 Jan 2016 00:01:07 -0500 Subject: [PATCH] Automatically deploy to staging after successful build of master --- circle.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 circle.yml diff --git a/circle.yml b/circle.yml new file mode 100644 index 000000000..f80c555c4 --- /dev/null +++ b/circle.yml @@ -0,0 +1,11 @@ +machine: + timezone: EST + ruby: + version: 2.1.5 + +deployment: + staging: + branch: master + commands: + - git push -f git@heroku.com:commonplace-staging.git $CIRCLE_SHA1:refs/heads/master + - heroku run rake db:migrate --app commonplace-staging