This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'fileutils' | |
namespace :cf do | |
desc 'Deploy to staging on Cloud Foundry' | |
task :deploy_staging do | |
cf_target = 'api.run.pivotal.io' | |
deploy_branch = 'master' | |
deploy_space = 'staging' | |
deploy_org = "YOUR ORGANIZATION" | |
deploy_repo_dir = "tmp/cf_deploy" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
applications: | |
- name: pivotalallocations2 | |
command: bundle exec unicorn -p $PORT -c ./config/unicorn.rb | |
path: ../ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
04380d45357b2071902ab26baf2364a1f12493b36195f1ff7eb410c14e3bc198793c15e0ccedf58092bead0d97dd35c412d164ed1da227bba1c5bd23c9de9ca36f;mattdodge |