Skip to content

Commit

Permalink
Add a site to users page, use code. subdomain to upload.
Browse files Browse the repository at this point in the history
  • Loading branch information
macournoyer committed Sep 19, 2008
1 parent 495f03c commit bcc0891
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions site/thin.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ def users_page
li { a "HowFlow", :href => 'http://howflow.com/'}
li { a "boo-widgets", :href => 'http://widgets.boo-box.com/widgets/demo/3'}
li { a "BigCity.cz", :href => 'http://www.bigcity.cz/'}
li { a "yabadaba.ru", :href => 'http://yabadaba.ru/'}
end

p { "If you'd like to have your site listed here, #{a 'drop me an email', :href => 'mailto:[email protected]'}" }
Expand Down
4 changes: 2 additions & 2 deletions tasks/deploy.rake
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ desc 'Deploy on all servers'
task :deploy => %w(deploy:alpha deploy:public)

def upload(file, to, options={})
sh %{ssh [email protected] "rm -rf code.macournoyer.com/#{to}"} if options[:replace]
sh %{scp -rq #{file} [email protected]:code.macournoyer.com/#{to}}
sh %{ssh macournoyer@code.macournoyer.com "rm -rf code.macournoyer.com/#{to}"} if options[:replace]
sh %{scp -rq #{file} macournoyer@code.macournoyer.com:code.macournoyer.com/#{to}}
end

0 comments on commit bcc0891

Please sign in to comment.