Skip to content

Commit 1eb09e1

Browse files
author
Michael Freedman and Stuart Bargon
committed
add sydney yaml
1 parent b2f569f commit 1eb09e1

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

config/cf-sydney.yml

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
applications:
3+
- name: whiteboard-sydney
4+
command: bundle exec unicorn -p $PORT -c ./config/unicorn.rb
5+
path: ../

lib/tasks/deployment.rake

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
namespace :cf do
2+
namespace :deploy do
3+
desc 'Pushes an app to sydney on Cloud Foundry'
4+
task :sydney do
5+
Evaporator::Deployer.new('config/cf-sydney.yml').deploy
6+
end
7+
end
8+
end

0 commit comments

Comments
 (0)