summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2014-05-28 22:47:22 -0600
committermo khan <mo@mokhan.ca>2014-05-28 22:47:22 -0600
commit99cf3b0cece7e1e94f17a4a40804c8d35a0d123b (patch)
tree493a3a308981860852b0d7685ce01a4cb6061fe9 /lib
parenta56376b3c39e03463171edc8ed0f3a68efd91006 (diff)
remove unused files and update deploy tasks.
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/ci.rake8
-rw-r--r--lib/tasks/deployment.rake4
2 files changed, 2 insertions, 10 deletions
diff --git a/lib/tasks/ci.rake b/lib/tasks/ci.rake
index b6f6dc90..f62845cf 100644
--- a/lib/tasks/ci.rake
+++ b/lib/tasks/ci.rake
@@ -1,9 +1 @@
task :ci => ['db:migrate', 'db:test:prepare', 'spec', 'teaspoon']
-
-namespace :ci do
- namespace :deploy do
- task :staging => ['deploy:staging']
- task :production => ['deploy:production']
- end
-end
-
diff --git a/lib/tasks/deployment.rake b/lib/tasks/deployment.rake
index 16edad31..c3c2d3e0 100644
--- a/lib/tasks/deployment.rake
+++ b/lib/tasks/deployment.rake
@@ -1,13 +1,13 @@
namespace :deploy do
desc "deploy to staging server"
task :staging do
- sh "cap staging deploy:migrations"
+ sh "bundle exec cap staging deploy:migrations"
sh "curl https://staging.cakeside.com/ > /dev/null"
end
desc "deploy to production server"
task :production do
- sh "cap production deploy:migrations"
+ sh "bundle exec cap production deploy:migrations"
sh "curl https://www.cakeside.com/ > /dev/null"
end
end