Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
fixing media script again
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanb committed Jan 20, 2013
1 parent fc2a6cf commit eb705ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/rcupload
Expand Up @@ -23,7 +23,7 @@ class EpisodeUploader

def upload_video(ext = "*")
Dir["#{root}/video/*.#{ext}"].each do |file|
command "scp '#{file}' media.railscasts.com:/home/ryanrbates/media.railscasts.com/assets/episodes#{pro_path}/videos"
command "scp '#{file}' media.railscasts.com:/home/rbates/media.railscasts.com/assets/episodes#{pro_path}/videos"
end
end

Expand All @@ -34,7 +34,7 @@ class EpisodeUploader
def upload_code
zip = "/tmp/#{name}.zip"
command "cd '#{root}/code' && git archive --format zip --output '#{zip}' master"
command "scp '#{zip}' media.railscasts.com:/home/ryanrbates/media.railscasts.com/assets/episodes/sources/#{name}.zip"
command "scp '#{zip}' media.railscasts.com:/home/rbates/media.railscasts.com/assets/episodes/sources/#{name}.zip"
command "rm '#{zip}'"
end

Expand Down

0 comments on commit eb705ab

Please sign in to comment.