diff options
author | Gareth Rees <gareth@mysociety.org> | 2014-04-25 12:01:52 +0100 |
---|---|---|
committer | Gareth Rees <gareth@mysociety.org> | 2014-05-02 14:24:30 +0100 |
commit | effa1ff12e8d1bdf83a6b67270dadfb6ce86876f (patch) | |
tree | ab49cc59c3c616847d2af38c91821685a11d6af8 /script/rails-deploy-before-down | |
parent | 0c54aa3bc1bda24fa6cca97e52753a5ea07e7638 (diff) |
Use WAD to cache bundles to Amazon S3
https://github.com/Fingertips/WAD
Diffstat (limited to 'script/rails-deploy-before-down')
-rwxr-xr-x | script/rails-deploy-before-down | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/script/rails-deploy-before-down b/script/rails-deploy-before-down index c157a8624..a5f0d7af0 100755 --- a/script/rails-deploy-before-down +++ b/script/rails-deploy-before-down @@ -135,13 +135,18 @@ if [ "$OPTION_STAGING_SITE" = "1" ] then bundle_install_options="$bundle_install_options" fi + +# Use script/wad to install bundle when on Travis if [ "$TRAVIS" = "true" ] then - bundle_install_options="--without development develop --deployment" + script/wad fi -echo "Running bundle install with options: $bundle_install_options" -bundle install $bundle_install_options +if [ ! "$TRAVIS" = "true" ] +then + echo "Running bundle install with options: $bundle_install_options" + bundle install $bundle_install_options +fi bundle exec rake submodules:check |