From 04ead628361675445fffb1cc0fd60f873896b9c4 Mon Sep 17 00:00:00 2001 From: mo khan Date: Wed, 5 Jun 2013 21:32:06 -0600 Subject: create script to deploy to production --- script/deploy-production.sh | 10 ++++++++++ script/deploy-staging.sh | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 script/deploy-production.sh (limited to 'script') diff --git a/script/deploy-production.sh b/script/deploy-production.sh new file mode 100644 index 00000000..26a401cb --- /dev/null +++ b/script/deploy-production.sh @@ -0,0 +1,10 @@ +#!/bin/bash -x +echo "load bashrc" +source ~/.bashrc + +echo 'switch gemset' +rvm use ruby-2.0.0-p195@cakeside --create + +echo 'bundle install' +git checkout master +bundle exec rake ci:deploy:production --trace diff --git a/script/deploy-staging.sh b/script/deploy-staging.sh index 0d16beb0..222e6b6a 100644 --- a/script/deploy-staging.sh +++ b/script/deploy-staging.sh @@ -7,4 +7,4 @@ rvm use ruby-2.0.0-p195@cakeside --create echo 'bundle install' git checkout master -bundle exec rake ci:deploy_staging --trace +bundle exec rake ci:deploy:staging --trace -- cgit v1.2.3