diff options
| author | mo khan <mo@mokhan.ca> | 2013-06-05 21:32:06 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-06-05 21:32:06 -0600 |
| commit | 04ead628361675445fffb1cc0fd60f873896b9c4 (patch) | |
| tree | 2e89accf7baa3e5211dc95f3aeddecaf3c52269c /script | |
| parent | bfd65760fcb5cee15a6281498fb50c1006ffbaed (diff) | |
create script to deploy to production
Diffstat (limited to 'script')
| -rw-r--r-- | script/deploy-production.sh | 10 | ||||
| -rw-r--r-- | script/deploy-staging.sh | 2 |
2 files changed, 11 insertions, 1 deletions
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 |
