From bf14656ad58788f8a427d03bf38af527b3d10f33 Mon Sep 17 00:00:00 2001 From: mallowlabs Date: Tue, 24 Jan 2017 21:41:20 +0900 Subject: [PATCH] Changed: for Wercker migration --- config/mongoid.yml | 2 +- wercker.yml | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/config/mongoid.yml b/config/mongoid.yml index ccd80db80..b65859962 100644 --- a/config/mongoid.yml +++ b/config/mongoid.yml @@ -3,7 +3,7 @@ development: database: asakusa_satellite_development test: - host: <%= ENV['WERCKER_MONGODB_HOST'] || 'localhost' %> + host: <%= ENV['MONGO_PORT_27017_TCP_ADDR'] || 'localhost' %> database: asakusa_satellite_test production: diff --git a/wercker.yml b/wercker.yml index 0ce7ab5bd..e6e382788 100644 --- a/wercker.yml +++ b/wercker.yml @@ -1,6 +1,6 @@ -box: wercker/rvm +box: ruby:2.3 services: - - wercker/mongodb + - id: mongo build: steps: - bundle-install @@ -19,3 +19,10 @@ build: after-steps: - mzp/http-notify: url: $DASHBOZU_URL +deploy: + steps: + - heroku-deploy: + key: $HEROKU_KEY + user: $HEROKU_USER + app-name: $HEROKU_APP_NAME +