diff options
| author | mo khan <mo@mokhan.ca> | 2013-06-05 21:09:02 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-06-05 21:09:02 -0600 |
| commit | 6d6748812e499ae1c386bb40b7c369ad84f881d4 (patch) | |
| tree | 4f8db2925fe8876753a1e26a9d1fb7c6210b4e76 /script | |
| parent | f67690053401a16eb1d8f001ad931cdb62cb1e3d (diff) | |
create script to automatically deploy to staging after each good build
Diffstat (limited to 'script')
| -rw-r--r-- | script/deploy-staging.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/script/deploy-staging.sh b/script/deploy-staging.sh new file mode 100644 index 00000000..ab567399 --- /dev/null +++ b/script/deploy-staging.sh @@ -0,0 +1,9 @@ +#!/bin/bash -x +echo "load bashrc" +source ~/.bashrc + +echo 'switch gemset' +rvm use ruby-2.0.0-p195@cakeside --create + +echo 'bundle install' +bundle exec rake ci:deploy_staging --trace |
