forked from macournoyer/thin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a site to users page, use code. subdomain to upload.
- Loading branch information
1 parent
495f03c
commit bcc0891
Showing
2 changed files
with
3 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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]'}" } | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |